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 0104215 commit fa2743dCopy full SHA for fa2743d
1 file changed
services/api_server/cors.go
@@ -18,7 +18,7 @@ func withCORS(next http.Handler) http.Handler {
18
h := w.Header()
19
h.Set("Access-Control-Allow-Origin", "*")
20
h.Set("Access-Control-Allow-Methods", "GET, POST, PUT, DELETE, OPTIONS")
21
- h.Set("Access-Control-Allow-Headers", "Content-Type, Authorization, Last-Event-ID, X-Requested-With, X-CallbackURL, X-FullStatusUpdates")
+ h.Set("Access-Control-Allow-Headers", "Content-Type, Authorization, Last-Event-ID, X-Requested-With, X-CallbackURL, X-FullStatusUpdates, X-CallbackToken")
22
h.Set("Access-Control-Expose-Headers", "Content-Type")
23
h.Set("Access-Control-Max-Age", "86400")
24
0 commit comments