Merge pull request #961 from SISheogorath/feature/osTEMP

Use OS based tmp dir
This commit is contained in:
Christoph (Sheogorath) Kern 2018-11-11 19:00:58 +01:00 committed by GitHub
commit a1211abd32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -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',

View File