disable settings change on browser in gateway mode (#4472)

This commit is contained in:
poornas 2017-06-06 14:56:41 -07:00 committed by Harshavardhana
parent 976870a391
commit 6651c2fc5f
1 changed files with 3 additions and 0 deletions

View File

@ -234,6 +234,9 @@ func gatewayMain(ctx *cli.Context) {
router := mux.NewRouter().SkipClean(true)
// credentials Envs are set globally.
globalIsEnvCreds = true
// Register web router when its enabled.
if globalIsBrowserEnabled {
aerr := registerWebRouter(router)