Merge pull request #961 from SISheogorath/feature/osTEMP
Use OS based tmp dir
This commit is contained in:
commit
a1211abd32
2 changed files with 3 additions and 1 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue