diff --git a/DysonNetwork.Zone/Pages/Error.cshtml b/DysonNetwork.Zone/Pages/Error.cshtml index b5105b6..0aa49e0 100644 --- a/DysonNetwork.Zone/Pages/Error.cshtml +++ b/DysonNetwork.Zone/Pages/Error.cshtml @@ -1,26 +1,23 @@ -@page +@page "/Error/{statusCode?}" @model ErrorModel @{ ViewData["Title"] = "Error"; + ViewData["SiteName"] = Model.SiteName ?? "main"; } -
- Request ID: @Model.RequestId
-
- Swapping to the Development environment displays detailed information about the error that occurred. -
-- The Development environment shouldn't be enabled for deployed applications. - It can result in displaying sensitive information from exceptions to end users. - For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development - and restarting the app. -
\ No newline at end of file +Something went wrong...
+Powered by the Solar Network Pages
+Path: @Model.CurrentPath
+Site ID: @(Model.Site?.Id.ToString() ?? "none")
+ @if (Model.ShowRequestId) + { +Request ID: @Model.RequestId
+ } +Here are the Solar Network Pages
-And you're accessing the site @(Model.SiteName ?? "main")
-- The reason you're seeing this is the author of the site - haven't configure anything that match this route. -
-Path: @Model.CurrentPath
-Site ID: @(Model.Site?.Id.ToString() ?? "none")
-