🐛 Fix CORS expose headers
This commit is contained in:
parent
eef64df81a
commit
0c48694493
@ -291,7 +291,7 @@ app.UseForwardedHeaders(new ForwardedHeadersOptions
|
|||||||
|
|
||||||
app.UseCors(opts =>
|
app.UseCors(opts =>
|
||||||
opts.SetIsOriginAllowed(_ => true)
|
opts.SetIsOriginAllowed(_ => true)
|
||||||
.WithExposedHeaders("X-Total", "Location")
|
.WithExposedHeaders("*")
|
||||||
.WithHeaders()
|
.WithHeaders()
|
||||||
.AllowCredentials()
|
.AllowCredentials()
|
||||||
.AllowAnyHeader()
|
.AllowAnyHeader()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user