Update to generate front-end constants on server startup

To avoid extra webpacking on changing configs and follow the 12 factor app
This commit is contained in:
Wu Cheng-Han 2017-03-20 01:39:09 +08:00
parent b07eeed0c5
commit 448b006194
5 changed files with 34 additions and 12 deletions

View file

@ -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,