Skip to content
Snippets Groups Projects
Commit c48d52cd authored by Rohith's avatar Rohith
Browse files

- updating the config

parent b86c8df8
Branches
Tags
No related merge requests found
......@@ -219,7 +219,7 @@ func readOptions(cx *cli.Context, config *Config) (err error) {
config.CORS.MaxAge = cx.Duration("cors-max-age")
}
if cx.IsSet("cors-credentials") {
config.CORS.MaxAge = cx.BoolT("cors-credentials")
config.CORS.Credentials = cx.BoolT("cors-credentials")
}
if cx.IsSet("tag") {
config.TagData, err = decodeKeyPairs(cx.StringSlice("tag"))
......
......@@ -94,7 +94,7 @@ func newFakeKeycloakProxy(t *testing.T) *KeycloakProxy {
Roles: []string{},
},
},
CORSConfig: &CORS{},
CORS: &CORS{},
},
proxy: new(fakeReverseProxy),
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment