@@ -52,10 +52,11 @@ func RegisterPublicRoutes(app *fiber.App, handlers RouteHandlers) {
5252 authorizer = handlers .Server .ScrollHandler .authorizer
5353 }
5454 app .Use (cors .New (cors.Config {
55- AllowOrigins : "*" ,
56- AllowMethods : "GET,POST,PUT,DELETE,PATCH,OPTIONS,HEAD,PROPFIND,MOVE,MKCOL,COPY" ,
57- AllowHeaders : "Origin,Content-Type,Accept,Authorization,X-Requested-With,Cache-Control,DNT,Keep-Alive,User-Agent,If-Modified-Since,Depth,Destination,Overwrite,If,Lock-Token,Timeout,Dav" ,
58- ExposeHeaders : "Druid-Version" ,
55+ AllowOrigins : "https://app.druid.gg,http://localhost:3000,http://127.0.0.1:3000" ,
56+ AllowMethods : "GET,POST,PUT,DELETE,PATCH,OPTIONS,HEAD,PROPFIND,MOVE,MKCOL,COPY" ,
57+ AllowHeaders : "Origin,Content-Type,Accept,Authorization,X-Requested-With,Cache-Control,DNT,Keep-Alive,User-Agent,If-Modified-Since,Depth,Destination,Overwrite,If,Lock-Token,Timeout,Dav" ,
58+ AllowCredentials : true ,
59+ ExposeHeaders : "Druid-Version" ,
5960 }))
6061 app .Get ("/health" , handlers .Server .GetHealthAuth )
6162 app .Get ("/.well-known/jwks.json" , RuntimeJWKS (authorizer ))
0 commit comments