the attribute name 'production' is misleading

This commit is contained in:
Tan Jiang 2016-07-14 13:38:45 +08:00
parent e3c36bfc74
commit 6fcf3b842d
3 changed files with 5 additions and 6 deletions

View File

@ -35,8 +35,8 @@ db_password = root123
#Turn on or off the self-registration feature
self_registration = on
#Turn on or off the options for production
production = off
#Turn on or off the options to control UI whether to use compressed js file
use_compressed_js = off
#Number of job workers in job service, default is 3
max_job_workers = 3

View File

@ -38,7 +38,7 @@ ldap_url = rcp.get("configuration", "ldap_url")
ldap_basedn = rcp.get("configuration", "ldap_basedn")
db_password = rcp.get("configuration", "db_password")
self_registration = rcp.get("configuration", "self_registration")
production = rcp.get("configuration", "production")
use_compressed_js = rcp.get("configuration", "use_compressed_js")
customize_crt = rcp.get("configuration", "customize_crt")
crt_country = rcp.get("configuration", "crt_country")
crt_state = rcp.get("configuration", "crt_state")
@ -99,7 +99,7 @@ render(os.path.join(templates_dir, "ui", "env"),
ldap_url=ldap_url,
ldap_basedn=ldap_basedn,
self_registration=self_registration,
production=production,
use_compressed_js=use_compressed_js,
ui_secret=ui_secret,
verify_remote_cert=verify_remote_cert)

View File

@ -13,10 +13,9 @@ LDAP_URL=$ldap_url
LDAP_BASE_DN=$ldap_basedn
UI_SECRET=$ui_secret
SELF_REGISTRATION=$self_registration
PRODUCTION=$production
PRODUCTION=$use_compressed_js
LOG_LEVEL=debug
GODEBUG=netdns=cgo
EXT_ENDPOINT=$ui_url
TOKEN_URL=http://ui
VERIFY_REMOTE_CERT=$verify_remote_cert
PRODUCTION=$production