mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-18 09:04:44 -04:00
Move config out of statics path
Since static path is providing with a high expiration data, we provide configs via API. This shouldn't add any noticeable load while making it uncached and this way working again. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
This commit is contained in:
parent
7c7cc289f2
commit
0ed4b50098
5 changed files with 20 additions and 17 deletions
|
@ -45,6 +45,7 @@ module.exports = {
|
|||
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