summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorWu Cheng-Han2017-03-20 01:39:09 +0800
committerWu Cheng-Han2017-03-20 01:39:09 +0800
commit448b0061945b65dc36c08eaf6752060600d5895d (patch)
tree9b7dee9a9617518404f5a02a014f535f59ac24e6 /lib
parentb07eeed0c5a3c8de28e27326967cea592071ca6a (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.js3
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,