Increase CORS retention
This commit is contained in:
parent
909ad208de
commit
b3167c2a2f
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue