Social Media Preview Fix
All checks were successful
Build and deploy / Publish image (push) Successful in 18m15s
All checks were successful
Build and deploy / Publish image (push) Successful in 18m15s
This commit is contained in:
@@ -24,12 +24,7 @@ builder.Services.AddControllersWithViews(options =>
|
||||
}).AddMicrosoftIdentityUI().AddDataAnnotationsLocalization();
|
||||
builder.Services.Configure<ForwardedHeadersOptions>(options =>
|
||||
{
|
||||
options.RequireHeaderSymmetry = false;
|
||||
options.ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto;
|
||||
|
||||
// TODO : it's a bit unsafe to allow all Networks and Proxies...
|
||||
options.KnownNetworks.Clear();
|
||||
options.KnownProxies.Clear();
|
||||
});
|
||||
|
||||
var baseDirectory = AppDomain.CurrentDomain.BaseDirectory;
|
||||
|
||||
Reference in New Issue
Block a user