mirror of https://github.com/status-im/codimd.git
Merge pull request #961 from SISheogorath/feature/osTEMP
Use OS based tmp dir
This commit is contained in:
commit
a1211abd32
|
@ -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 New Issue