From 2df7bc223f41c84a849285a6609046e48151e9d5 Mon Sep 17 00:00:00 2001 From: Paul Rodwell Date: Thu, 6 Oct 2016 13:59:39 +0100 Subject: [PATCH] Adding `~/.wiki/config.json` as an expected place to find configuration, see #87 --- cli.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/cli.coffee b/cli.coffee index 276906c..5f2984d 100644 --- a/cli.coffee +++ b/cli.coffee @@ -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'))