You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a webserver in front of the backend code which adds a Access-Control-Allow-Origin header. Now I get 2 Access-Control-Allow-Origin headers on the UI, one set by the webserver and the other as access-control-allow-origin: *.
Does handlers add * as a default header if not set? I don't see that in the handlers code, but wanted to still verify.
…
Versions
Go version: go version
go1.17.10
package version: run git rev-parse HEAD inside the repo
github.com/gorilla/handlers v1.5.1
…
"Show me the code!"
A minimal code snippet can be useful, otherwise we're left guessing!
Hint: wrap it with backticks to format it
…
The text was updated successfully, but these errors were encountered:
Describe the problem you're having
There is a webserver in front of the backend code which adds a Access-Control-Allow-Origin header. Now I get 2 Access-Control-Allow-Origin headers on the UI, one set by the webserver and the other as access-control-allow-origin: *.
Does handlers add * as a default header if not set? I don't see that in the handlers code, but wanted to still verify.
…
Versions
"Show me the code!"
…
The text was updated successfully, but these errors were encountered: