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

master
poornas 8 years ago committed by Harshavardhana
parent 976870a391
commit 6651c2fc5f
  1. 3
      cmd/gateway-main.go

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

Loading…
Cancel
Save