Fix not passing app key correctly in dropbox config

This commit is contained in:
Wu Cheng-Han 2018-01-19 00:25:08 +08:00
parent 11a5dd0eb4
commit 608008753f
4 changed files with 7 additions and 4 deletions

2
app.js
View file

@ -34,7 +34,7 @@ var data = {
version: config.version,
GOOGLE_API_KEY: config.google.clientSecret,
GOOGLE_CLIENT_ID: config.google.clientID,
DROPBOX_APP_KEY: config.dropbox.clientSecret
DROPBOX_APP_KEY: config.dropbox.appKey
}
ejs.renderFile(constpath, data, {}, function (err, str) {