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
|
// Add cors headers
|
||||||
|
|
||||||
s.Use(mw.Cors(&mw.CorsOpts{
|
s.Use(mw.Cors(&mw.CorsOpts{
|
||||||
AllowedOrigin: "=",
|
AllowedOrigin: "*",
|
||||||
AllowedMethods: []string{
|
AllowedMethods: []string{
|
||||||
"GET",
|
"GET",
|
||||||
"PUT",
|
"PUT",
|
||||||
|
|
Loading…
Reference in a new issue