fix: corsAll headers
This commit is contained in:
parent
146eec83a2
commit
537f0430f0
|
@ -1,8 +1,10 @@
|
||||||
[http.middlewares.httpsRedirect.redirectScheme]
|
[http.middlewares.httpsRedirect.redirectScheme]
|
||||||
scheme = "https"
|
scheme = "https"
|
||||||
permanent = true
|
permanent = true
|
||||||
|
|
||||||
[http.middlewares.corsAll.headers]
|
[http.middlewares.corsAll.headers]
|
||||||
accessControlAllowMethods= ["GET", "OPTIONS", "PUT"]
|
accessControlAllowHeaders = ["*", "authorization"]
|
||||||
accessControlAllowOrigin = "origin-list-or-null"
|
accessControlAllowMethods= ["GET", "OPTIONS", "POST", "PUT", "DELETE"]
|
||||||
|
accessControlAllowOrigin = "*"
|
||||||
accessControlMaxAge = 100
|
accessControlMaxAge = 100
|
||||||
addVaryHeader = true
|
addVaryHeader = true
|
||||||
|
|
Loading…
Reference in New Issue