фиксы
This commit is contained in:
parent
5bef2b0dbc
commit
15911d2c69
@ -87,6 +87,10 @@ builder.Services.AddCors();
|
|||||||
var app = builder.Build();
|
var app = builder.Build();
|
||||||
|
|
||||||
app.UseCors(builder => builder.AllowAnyMethod());
|
app.UseCors(builder => builder.AllowAnyMethod());
|
||||||
|
app.UseForwardedHeaders(new ForwardedHeadersOptions
|
||||||
|
{
|
||||||
|
ForwardedHeaders = ForwardedHeaders.XForwardedProto
|
||||||
|
});
|
||||||
|
|
||||||
app.UseStaticFiles(new StaticFileOptions
|
app.UseStaticFiles(new StaticFileOptions
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user