Use asterisk for CORS Origin header response

This commit is contained in:
Tobie Morgan Hitchcock 2021-03-22 19:14:17 +00:00
parent 5f71e04b41
commit 7b6472a39b

View file

@ -46,7 +46,7 @@ func Setup(opts *cnf.Options) (err error) {
// Add cors headers
s.Use(mw.Cors(&mw.CorsOpts{
AllowedOrigin: "=",
AllowedOrigin: "*",
AllowedMethods: []string{
"GET",
"PUT",