Skip to content

Commit

Permalink
fix(config.js): fix config file path
Browse files Browse the repository at this point in the history
  • Loading branch information
wayenli committed Jul 9, 2018
1 parent 285de00 commit 0cc071c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/proxy/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ if (isFirstLoad) {


if (fs.existsSync('/etc/tsw.config.js')) {
cache.config = require('/usr/local/node_modules/config.js');
cache.config = require('/etc/tsw.config.js');
} else if (fs.existsSync('/usr/local/node_modules/config.js')) {
cache.config = require('/usr/local/node_modules/config.js');
} else if (fs.existsSync('/data/release/node_modules/config.js')) {
Expand Down

0 comments on commit 0cc071c

Please sign in to comment.