From 7b6472a39b95eb5daaac66f2bf36b6f297e081d7 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Mon, 22 Mar 2021 19:14:17 +0000 Subject: [PATCH] Use asterisk for CORS Origin header response --- web/web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/web.go b/web/web.go index ff3b4004..e47f5ece 100644 --- a/web/web.go +++ b/web/web.go @@ -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",