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 fdf4282 commit 049347eCopy full SHA for 049347e
pkg/middleware/cors.go
@@ -30,6 +30,8 @@ func NewCorsMiddleware(setting server.CorsSetting) *CorsMiddleware {
30
MaxAge: setting.MaxAge,
31
32
OptionsPassthrough: setting.OptionsPassthrough,
33
+
34
+ OptionsSuccessStatus: http.StatusOK,
35
})
36
37
return &CorsMiddleware{
0 commit comments