From 448b0061945b65dc36c08eaf6752060600d5895d Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Mon, 20 Mar 2017 01:39:09 +0800 Subject: Update to generate front-end constants on server startup To avoid extra webpacking on changing configs and follow the 12 factor app --- lib/config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/config.js') diff --git a/lib/config.js b/lib/config.js index 674dd113..cddfdda5 100644 --- a/lib/config.js +++ b/lib/config.js @@ -173,8 +173,9 @@ module.exports = { version: version, minimumCompatibleVersion: minimumCompatibleVersion, maintenance: maintenance, - debug: debug, + domain: domain, urlpath: urlpath, + debug: debug, port: port, alloworigin: alloworigin, usessl: usessl, -- cgit v1.2.3