Use asterisk for CORS Origin header response
This commit is contained in:
parent
5f71e04b41
commit
7b6472a39b
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue