diff --git a/backend/aashub/main.go b/backend/aashub/main.go index cc88767..94b3ecf 100644 --- a/backend/aashub/main.go +++ b/backend/aashub/main.go @@ -33,7 +33,7 @@ func main() { corsConfig := cors.Config{ AllowAllOrigins: true, AllowMethods: []string{"GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"}, - AllowHeaders: []string{"Origin", "Content-Length", "Content-Type", "Authorization"}, + AllowHeaders: []string{"Origin", "Content-Length", "Content-Type", "Authorization"}, ExposeHeaders: []string{"Content-Length"}, AllowCredentials: true, MaxAge: 12 * time.Hour,