Allow extension origins (still needs explicit listing), fixes #1686

This commit is contained in:
Nicholas Dudfield 2024-01-05 08:55:47 +07:00
parent cd8fad3398
commit 8baaaa39c0

View file

@ -837,6 +837,7 @@ func (s *Server) GenerateRoutes() http.Handler {
config := cors.DefaultConfig()
config.AllowWildcard = true
config.AllowBrowserExtensions = true
config.AllowOrigins = origins
for _, allowOrigin := range defaultAllowOrigins {