diff --git a/main.go b/main.go index c200b42..ad7f620 100644 --- a/main.go +++ b/main.go @@ -57,7 +57,7 @@ func main() { app.Use(cors.New(cors.Config{ AllowOrigins: "https://a301.tolelom.xyz", AllowHeaders: "Origin, Content-Type, Authorization", - AllowMethods: "GET, POST, PUT, DELETE", + AllowMethods: "GET, POST, PUT, PATCH, DELETE", })) routes.Register(app, authHandler, annHandler, dlHandler)