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:
Sybren A. Stüvel 2022-06-20 14:32:25 +02:00
parent 1586c37b32
commit 32e737466b

View File

@ -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
} }