mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-21 18:55:19 -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
|
@ -173,6 +173,7 @@ config.hackmdPath = path.join(appRootPath, config.hackmdPath)
|
|||
config.errorPath = path.join(appRootPath, config.errorPath)
|
||||
config.prettyPath = path.join(appRootPath, config.prettyPath)
|
||||
config.slidePath = path.join(appRootPath, config.slidePath)
|
||||
config.constantsPath = path.join(appRootPath, config.constantsPath)
|
||||
config.uploadsPath = path.join(appRootPath, config.uploadsPath)
|
||||
|
||||
// make config readonly
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue