diff --git a/server/adminserver/middleware/cors.go b/server/adminserver/middleware/cors.go index bce6048e..ff25a92d 100644 --- a/server/adminserver/middleware/cors.go +++ b/server/adminserver/middleware/cors.go @@ -17,7 +17,7 @@ func Cors() gin.HandlerFunc { c.Header("Access-Control-Allow-Credentials", "true") //} if method == "OPTIONS" { - c.AbortWithStatus(http.StatusNoContent) + c.AbortWithStatus(http.StatusOK) } c.Next() }