Skip to content

Commit

Permalink
install uws
Browse files Browse the repository at this point in the history
  • Loading branch information
Raoul1996 committed Apr 5, 2018
1 parent ea2c7dc commit 106f3ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions config/config.default.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ module.exports = app => {
}
exports.passportGithub = {
key: '8b79e52fc393da70ef6f',
secret: process.env.votepass
secret: process.env.votepass || ''
}
exports.onerror = {
errorPageUrl: (err, ctx) => ctx.errorPageUrl || '/500'
Expand Down Expand Up @@ -161,7 +161,7 @@ module.exports = app => {
}
exports.email = {
username: '[email protected]',
password: process.env.qqpass,
password: process.env.qqpass || '',
host: 'smtp.qq.com',
port: 465,
sender: '[email protected]'
Expand All @@ -174,8 +174,8 @@ module.exports = app => {
fontsize: 57, // set font size,default is 57
}
exports.qiniu = {
ak: process.env.ak,
sk: process.env.sk,
ak: process.env.ak || '',
sk: process.env.sk || '',
bucket: 'vote',
baseUrl: 'http://p4htepdga.bkt.clouddn.com/',
zone: 'Zone_z0',
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"moment": "^2.20.1",
"qiniu": "^7.1.2",
"stream-to-array": "^2.3.0",
"stream-wormhole": "^1.0.3"
"stream-wormhole": "^1.0.3",
"uws": "^9.14.0"
},
"devDependencies": {
"autod": "^3.0.1",
Expand Down

0 comments on commit 106f3ea

Please sign in to comment.