Manager: clarify log message
Change "accepted CORS origins" to "acceptable CORS origins", as the former is too ambiguous (it can mean "I just accepted these" or "These are the acceptable ones").
This commit is contained in:
parent
1586c37b32
commit
32e737466b
@ -424,7 +424,7 @@ func corsOrigins(urls []url.URL) []string {
|
|||||||
url.Host = fmt.Sprintf("%s:%d", url.Hostname(), developmentWebInterfacePort)
|
url.Host = fmt.Sprintf("%s:%d", url.Hostname(), developmentWebInterfacePort)
|
||||||
origins[i] = url.String()
|
origins[i] = url.String()
|
||||||
}
|
}
|
||||||
log.Debug().Str("origins", strings.Join(origins, " ")).Msg("accepted CORS origins")
|
log.Debug().Str("origins", strings.Join(origins, " ")).Msg("acceptable CORS origins")
|
||||||
return origins
|
return origins
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user