Skip to content

Commit

Permalink
change kk.config to server.config
Browse files Browse the repository at this point in the history
  • Loading branch information
villetou committed Feb 10, 2016
1 parent d64b32e commit bea4c85
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
/config/local.yml
npm-debug.log
.idea
server.config
2 changes: 1 addition & 1 deletion dev_server/getSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function getOptions() {
const nconf = new Provider()
nconf.argv()
nconf.env()
nconf.file({file: './kk.config'})
nconf.file({file: './server.config'})
nconf.defaults(_.clone(defaults))

const settings = _.pick(nconf.get(), Object.keys(defaults))
Expand Down
2 changes: 1 addition & 1 deletion server/getSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function getOptions() {
const nconf = new Provider()
nconf.argv()
nconf.env()
nconf.file({file: './kk.config'})
nconf.file({file: './server.config'})
nconf.defaults(_.clone(defaults))

const settings = _.pick(nconf.get(), Object.keys(defaults))
Expand Down

0 comments on commit bea4c85

Please sign in to comment.