From 4ea1078c0e4ce32c705ec09f589a3c1609c770d9 Mon Sep 17 00:00:00 2001 From: Aaron Zielstorff Date: Thu, 8 Aug 2024 08:53:34 +0000 Subject: [PATCH] Test go formatting action --- backend/aashub/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/aashub/main.go b/backend/aashub/main.go index 9344fe0..cc88767 100644 --- a/backend/aashub/main.go +++ b/backend/aashub/main.go @@ -32,8 +32,8 @@ func main() { // Configure CORS corsConfig := cors.Config{ AllowAllOrigins: true, - AllowMethods: []string{"GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"}, - AllowHeaders: []string{"Origin", "Content-Length", "Content-Type", "Authorization"}, + AllowMethods: []string{"GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"}, + AllowHeaders: []string{"Origin", "Content-Length", "Content-Type", "Authorization"}, ExposeHeaders: []string{"Content-Length"}, AllowCredentials: true, MaxAge: 12 * time.Hour,