summaryrefslogtreecommitdiff
path: root/lib/config
diff options
context:
space:
mode:
Diffstat (limited to 'lib/config')
-rw-r--r--lib/config/default.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/config/default.js b/lib/config/default.js
index c3ada982..15f11aaa 100644
--- a/lib/config/default.js
+++ b/lib/config/default.js
@@ -1,5 +1,7 @@
'use strict'
+const os = require('os')
+
module.exports = {
domain: '',
urlPath: '',
@@ -39,7 +41,7 @@ module.exports = {
dhParamPath: '',
// other path
viewPath: './public/views',
- tmpPath: './tmp',
+ tmpPath: os.tmpdir(),
defaultNotePath: './public/default.md',
docsPath: './public/docs',
uploadsPath: './public/uploads',