Increase CORS retention

This commit is contained in:
Brieuc Dubois 2024-01-04 22:46:29 +01:00
parent 909ad208de
commit b3167c2a2f
1 changed files with 1 additions and 0 deletions

View File

@ -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())