summaryrefslogtreecommitdiff
path: root/lib/config/index.js
diff options
context:
space:
mode:
authorSheogorath2018-06-24 00:06:03 +0200
committerSheogorath2018-06-24 00:07:32 +0200
commit0ed4b50098b4329b1d91e519bbbbe4e14701f92f (patch)
tree109e0d0cf888b547bed00c946228810dcf5e9d4a /lib/config/index.js
parent7c7cc289f2c2b2e33a32ea32a6e97ea1410cc63e (diff)
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>
Diffstat (limited to 'lib/config/index.js')
-rw-r--r--lib/config/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/config/index.js b/lib/config/index.js
index b8bf64cc..79330443 100644
--- a/lib/config/index.js
+++ b/lib/config/index.js
@@ -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