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' 'use strict'
const os = require('os')
module.exports = { module.exports = {
domain: '', domain: '',
urlPath: '', urlPath: '',
@ -39,7 +41,7 @@ module.exports = {
dhParamPath: '', dhParamPath: '',
// other path // other path
viewPath: './public/views', viewPath: './public/views',
tmpPath: './tmp', tmpPath: os.tmpdir(),
defaultNotePath: './public/default.md', defaultNotePath: './public/default.md',
docsPath: './public/docs', docsPath: './public/docs',
uploadsPath: './public/uploads', uploadsPath: './public/uploads',

View file