Commit 18e0cf0f by 马玮

Fix config loading

parent bbed0bde
......@@ -3,6 +3,7 @@ User: MaWei
Date: 2017.7.31
*/
'use strict';
process.env.NODE_CONFIG_DIR = __dirname + '/config';
const program = require('commander');
const config = require('config');
const captcha = require('./lib/captcha');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment