Add nice error page for boot, like in v8
This commit is contained in:
@@ -121,6 +121,7 @@ namespace Umbraco.Extensions
|
||||
|
||||
if (!app.UmbracoCanBoot())
|
||||
{
|
||||
app.UseStaticFiles(); // We need static files to show the nice error page.
|
||||
app.UseMiddleware<BootFailedMiddleware>();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user