Merge pull request #940 from WilliButz/fix-configurable-paths
enhance configurabiltiy of paths & make execution path-independent
This commit is contained in:
@@ -38,15 +38,10 @@ module.exports = {
|
||||
sslCAPath: '',
|
||||
dhParamPath: '',
|
||||
// other path
|
||||
viewPath: './public/views',
|
||||
tmpPath: './tmp',
|
||||
defaultNotePath: './public/default.md',
|
||||
docsPath: './public/docs',
|
||||
indexPath: './public/views/index.ejs',
|
||||
codimdPath: './public/views/codimd.ejs',
|
||||
errorPath: './public/views/error.ejs',
|
||||
prettyPath: './public/views/pretty.ejs',
|
||||
slidePath: './public/views/slide.ejs',
|
||||
constantsPath: './public/js/lib/common/constant.ejs',
|
||||
uploadsPath: './public/uploads',
|
||||
// session
|
||||
sessionName: 'connect.sid',
|
||||
|
||||
Reference in New Issue
Block a user