From b3167c2a2fc9fe42a6400b240bdf373bbf29e62c Mon Sep 17 00:00:00 2001 From: Bhasher Date: Thu, 4 Jan 2024 22:46:29 +0100 Subject: [PATCH] Increase CORS retention --- backend/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/main.go b/backend/main.go index b0223a3..f837647 100644 --- a/backend/main.go +++ b/backend/main.go @@ -34,6 +34,7 @@ func main() { AllowOrigins: origins, AllowMethods: "GET,POST,PUT,DELETE", AllowHeaders: "Origin, Content-Type, Accept, Cache-Control, Pragma,Expires, If-Modified-Since", + MaxAge: 3600, })) // app.Use(cache.New())