diff options
author | Christoph (Sheogorath) Kern | 2018-11-11 19:00:58 +0100 |
---|---|---|
committer | GitHub | 2018-11-11 19:00:58 +0100 |
commit | a1211abd322746210904a52cf01f390621df723d (patch) | |
tree | d9f12ae057479cffad11660889f66fe0eb82d2b1 /lib | |
parent | ca9c4b3135e071bb599aad734930c5d1d339dc27 (diff) | |
parent | 59b3885ddaa97e5a22022587a023d6db3c7caad7 (diff) |
Merge pull request #961 from SISheogorath/feature/osTEMP
Use OS based tmp dir
Diffstat (limited to '')
-rw-r--r-- | lib/config/default.js | 4 |
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', |