mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 06:34:39 -04:00
Merge pull request #940 from WilliButz/fix-configurable-paths
enhance configurabiltiy of paths & make execution path-independent
This commit is contained in:
commit
32af96aa37
8 changed files with 39 additions and 45 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue