default zero-config ingress for testing

This commit is contained in:
Kim Tore Jensen
2021-08-30 11:50:15 +02:00
parent 1aa134ecf0
commit e0662efa66

View File

@@ -76,7 +76,7 @@ func Initialize() *Config {
flag.String(IDPortenPostLogoutRedirectURI, "https://nav.no", "URI for redirecting the user after successful logout at IDPorten.")
flag.StringSlice(IDPortenScopes, []string{token.ScopeOpenID}, "List of scopes that should be used during the Auth Code flow.")
flag.Duration(IDPortenSessionMaxLifetime, time.Hour, "Max lifetime for user sessions.")
flag.StringSlice(Ingresses, []string{""}, "Ingresses used to access the main application.")
flag.StringSlice(Ingresses, []string{"http://localhost:3000"}, "Ingresses used to access the main application.")
return &Config{}
}