diff --git a/pkg/config/corscfg/flags.go b/pkg/config/corscfg/flags.go index c71bd2a4a1e..2e0b933e713 100644 --- a/pkg/config/corscfg/flags.go +++ b/pkg/config/corscfg/flags.go @@ -32,8 +32,8 @@ type Flags struct { } func (c Flags) AddFlags(flags *flag.FlagSet) { - flags.String(c.Prefix+corsAllowedHeaders, "content-type", "Comma-separated CORS allowed headers, default accepts content-type. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers") - flags.String(c.Prefix+corsAllowedOrigins, "*", "Comma-separated CORS allowed headers, default accepts all. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin") + flags.String(c.Prefix+corsAllowedHeaders, "content-type", "Comma-separated CORS allowed headers. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers") + flags.String(c.Prefix+corsAllowedOrigins, "*", "Comma-separated CORS allowed headers. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin") } func (c Flags) InitFromViper(v *viper.Viper) Options {