We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5f1c5a commit 75e44ffCopy full SHA for 75e44ff
server/middlewares/cors.go
@@ -15,7 +15,7 @@ func CORSMiddleware() gin.HandlerFunc {
15
}
16
17
c.Writer.Header().Set("Access-Control-Allow-Credentials", "true")
18
- c.Writer.Header().Set("Access-Control-Allow-Headers", "Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization, accept, origin, Cache-Control, X-Requested-With")
+ c.Writer.Header().Set("Access-Control-Allow-Headers", "Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization, accept, origin, Cache-Control, X-Requested-With, X-authorizer-url")
19
c.Writer.Header().Set("Access-Control-Allow-Methods", "POST, OPTIONS, GET, PUT")
20
21
if c.Request.Method == "OPTIONS" {
0 commit comments