Compare commits

...

1 Commits

Author SHA1 Message Date
7d470f3638 update headers 2026-03-05 21:50:05 +01:00

2
local/utl/server/server.go Normal file → Executable file
View File

@@ -44,7 +44,7 @@ func Start(di *dig.Container) *fiber.App {
app.Use(cors.New(cors.Config{ app.Use(cors.New(cors.Config{
AllowOrigins: allowedOrigin, AllowOrigins: allowedOrigin,
AllowHeaders: "Origin, Content-Type, Accept, Authorization", AllowHeaders: "Origin, Content-Type, Accept, Authorization, Access-Token",
AllowMethods: "GET, POST, PUT, DELETE, OPTIONS", AllowMethods: "GET, POST, PUT, DELETE, OPTIONS",
AllowCredentials: true, AllowCredentials: true,
MaxAge: 86400, // 24 hours MaxAge: 86400, // 24 hours