Merge remote-tracking branch 'origin/v13/dev' into v14/dev
This commit is contained in:
@@ -91,6 +91,8 @@ public class UmbracoApplicationBuilder : IUmbracoApplicationBuilder, IUmbracoEnd
|
||||
AppBuilder.UseAuthentication();
|
||||
AppBuilder.UseAuthorization();
|
||||
|
||||
AppBuilder.UseAntiforgery();
|
||||
|
||||
// This must come after auth because the culture is based on the auth'd user
|
||||
AppBuilder.UseRequestLocalization();
|
||||
|
||||
|
||||
@@ -11,11 +11,6 @@ WebApplication app = builder.Build();
|
||||
|
||||
await app.BootUmbracoAsync();
|
||||
|
||||
if (app.Environment.IsDevelopment())
|
||||
{
|
||||
app.UseDeveloperExceptionPage();
|
||||
}
|
||||
|
||||
#if (UseHttpsRedirect)
|
||||
app.UseHttpsRedirection();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user