diff --git a/modules/backend/main.go b/modules/backend/main.go index 37dcc7b..24325eb 100644 --- a/modules/backend/main.go +++ b/modules/backend/main.go @@ -66,7 +66,7 @@ func main() { // AllowOrigins: []string{AppConfig.ServiceAddress}, AllowOrigins: []string{"*"}, AllowMethods: []string{"GET", "POST", "PUT", "DELETE", "PATCH"}, - AllowHeaders: []string{"Origin", "Content-Type", "Accept"}, + AllowHeaders: []string{"Origin", "Content-Type", "Accept", "X-XSRF-TOKEN"}, ExposeHeaders: []string{"Content-Length"}, AllowCredentials: true, MaxAge: 12 * time.Hour,