🐛 Fix TUS broken for the web cause by the CORS policy
This commit is contained in:
parent
b8341734df
commit
f96de0d325
@ -291,8 +291,8 @@ app.UseForwardedHeaders(new ForwardedHeadersOptions
|
||||
|
||||
app.UseCors(opts =>
|
||||
opts.SetIsOriginAllowed(_ => true)
|
||||
.WithExposedHeaders("X-Total")
|
||||
.WithHeaders("X-Total")
|
||||
.WithExposedHeaders("X-Total", "Location")
|
||||
.WithHeaders()
|
||||
.AllowCredentials()
|
||||
.AllowAnyHeader()
|
||||
.AllowAnyMethod()
|
||||
|
Loading…
x
Reference in New Issue
Block a user