Skip to content

Commit

Permalink
Adding ~/.wiki/config.json as an expected place to find configurati…
Browse files Browse the repository at this point in the history
…on, see #87
  • Loading branch information
paul90 committed Oct 6, 2016
1 parent af46ef5 commit 2df7bc2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ config = cc(argv,
argv.config,
'config.json',
path.join(__dirname, '..', 'config.json'),
path.join(getUserHome(), '.wiki', 'config.json'),
cc.env('wiki_'),
port: 3000
root: path.dirname(require.resolve('wiki-server'))
Expand Down

0 comments on commit 2df7bc2

Please sign in to comment.