Allow extension origins (still needs explicit listing), fixes #1686
This commit is contained in:
parent
cd8fad3398
commit
8baaaa39c0
1 changed files with 1 additions and 0 deletions
|
@ -837,6 +837,7 @@ func (s *Server) GenerateRoutes() http.Handler {
|
||||||
|
|
||||||
config := cors.DefaultConfig()
|
config := cors.DefaultConfig()
|
||||||
config.AllowWildcard = true
|
config.AllowWildcard = true
|
||||||
|
config.AllowBrowserExtensions = true
|
||||||
|
|
||||||
config.AllowOrigins = origins
|
config.AllowOrigins = origins
|
||||||
for _, allowOrigin := range defaultAllowOrigins {
|
for _, allowOrigin := range defaultAllowOrigins {
|
||||||
|
|
Loading…
Reference in a new issue