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'
|
'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',
|
||||||
|
|
Loading…
Reference in a new issue