diff options
author | Wu Cheng-Han | 2017-03-20 01:39:09 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2017-03-20 01:39:09 +0800 |
commit | 448b0061945b65dc36c08eaf6752060600d5895d (patch) | |
tree | 9b7dee9a9617518404f5a02a014f535f59ac24e6 /lib | |
parent | b07eeed0c5a3c8de28e27326967cea592071ca6a (diff) |
Update to generate front-end constants on server startup
To avoid extra webpacking on changing configs and follow the 12 factor app
Diffstat (limited to 'lib')
-rw-r--r-- | lib/config.js | 3 |
1 files changed, 2 insertions, 1 deletions
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, |