Skip to content
Snippets Groups Projects
Verified Commit e996dcb2 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

fix: always expand Env for CORS configuratio

parent 06cbd279
No related branches found
No related tags found
No related merge requests found
......@@ -81,9 +81,7 @@ func (c *Config) ExpandEnv() {
c.Auth.ExpandEnv()
}
c.Web.AccessLogs = os.ExpandEnv(c.Web.AccessLogs)
if c.Web.Cors != nil {
c.Web.Cors.ExpandEnv()
}
c.Web.Cors.ExpandEnv()
}
func ReadConfig(configfile string) (conf *Config, err error) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment