We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ae33f1 commit 5fc7341Copy full SHA for 5fc7341
1 file changed
cmd/main.go
@@ -14,6 +14,7 @@ func main() {
14
15
config := cors.DefaultConfig()
16
config.AllowAllOrigins = true
17
+ config.AllowHeaders = append(config.AllowHeaders, "DeeAppId", "DeeAppSecret", "DeeTicket")
18
19
server.Gin.Use(cors.New(config))
20
0 commit comments