diff --git a/azure/proxy.go b/azure/proxy.go index 257fb90..63b85c9 100644 --- a/azure/proxy.go +++ b/azure/proxy.go @@ -20,8 +20,8 @@ import ( func Proxy(c *gin.Context) { if c.Request.Method == http.MethodOptions { c.Header("Access-Control-Allow-Origin", "*") - c.Header("Access-Control-Allow-Methods", "GET, POST, PUT, DELETE, OPTIONS") - c.Header("Access-Control-Allow-Headers", "Authorization") + c.Header("Access-Control-Allow-Methods", "GET, OPTIONS, POST") + c.Header("Access-Control-Allow-Headers", "Authorization, Content-Type") c.Status(200) return }