Skip to content

Commit f4ee94c

Browse files
authored
API keys are not needed anymore (#258)
* API keys are not needed anymore * remove backup file
1 parent cd2425a commit f4ee94c

File tree

4 files changed

+1
-9
lines changed

4 files changed

+1
-9
lines changed

DEVELOPMENT.md

-4
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@ You now need to configure the system so that it can find various bits and pieces
7878
}
7979
// the database name in Couch
8080
, "couchDB": "ashnazg"
81-
// accessing the W3C API, which we do, requires a key and a matching origin
82-
// hopefully at some point the origin won't be needed anymore
83-
, "w3cAPIKey": "deadbeef"
84-
, "w3cAPIOrigin": "http://foo.bar/"
8581
// address from which notifications are set
8682
, "notifyFrom": "[email protected]"
8783
// w3cbot GitHub token with `public_repo` privileges to comment on the PR

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"express": "4.15.3",
5858
"express-session": "1.15.3",
5959
"express-winston": "2.4.0",
60-
"node-w3capi": "^2.0.0",
60+
"node-w3capi": "^2.1.0",
6161
"nodemailer": "6.4.16",
6262
"nodemailer-mock-transport": "1.3.0",
6363
"object-assign": "4.1.1",

server.js

-3
Original file line numberDiff line numberDiff line change
@@ -731,9 +731,6 @@ function run(configuration, configuredmailer) {
731731

732732
mailer = configuredmailer;
733733

734-
// set up the W3C API so that it works
735-
w3c.apiKey = config.w3cAPIKey;
736-
737734
// logging
738735
app.use(exwin.logger({
739736
winstonInstance: log

test/config-test.json

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"username": "admin",
1414
"password": "password"
1515
}
16-
, "w3cAPIKey": "foobar"
1716
, "notifyFrom": "[email protected]"
1817
, "w3cBotGHToken": "123"
1918
}

0 commit comments

Comments
 (0)