From 0ed4b50098b4329b1d91e519bbbbe4e14701f92f Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Sun, 24 Jun 2018 00:06:03 +0200 Subject: 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 --- lib/config/default.js | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/config/default.js') diff --git a/lib/config/default.js b/lib/config/default.js index f88c17b3..2a91c852 100644 --- a/lib/config/default.js +++ b/lib/config/default.js @@ -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', -- cgit v1.2.3