diff options
author | 杨宇千 <crupest@outlook.com> | 2019-05-06 14:22:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-06 14:22:10 +0800 |
commit | 79dc38059819cf6dbcb8533b031f9a0dba8f6cb1 (patch) | |
tree | 37c2b6f9dcb3d6f57867ebc7538523d1a338183d /Timeline/Pages/Error.cshtml | |
parent | 1cb92b8f2a98005b793c00e0191903c0792d540a (diff) | |
parent | a04bcb5971872e7dbc079de9337875e73f7642dc (diff) | |
download | timeline-79dc38059819cf6dbcb8533b031f9a0dba8f6cb1.tar.gz timeline-79dc38059819cf6dbcb8533b031f9a0dba8f6cb1.tar.bz2 timeline-79dc38059819cf6dbcb8533b031f9a0dba8f6cb1.zip |
Merge pull request #22 from crupest/user-admin
Develop user management feature.
Diffstat (limited to 'Timeline/Pages/Error.cshtml')
-rw-r--r-- | Timeline/Pages/Error.cshtml | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/Timeline/Pages/Error.cshtml b/Timeline/Pages/Error.cshtml deleted file mode 100644 index 6f92b956..00000000 --- a/Timeline/Pages/Error.cshtml +++ /dev/null @@ -1,26 +0,0 @@ -@page -@model ErrorModel -@{ - ViewData["Title"] = "Error"; -} - -<h1 class="text-danger">Error.</h1> -<h2 class="text-danger">An error occurred while processing your request.</h2> - -@if (Model.ShowRequestId) -{ - <p> - <strong>Request ID:</strong> <code>@Model.RequestId</code> - </p> -} - -<h3>Development Mode</h3> -<p> - Swapping to the <strong>Development</strong> environment displays detailed information about the error that occurred. -</p> -<p> - <strong>The Development environment shouldn't be enabled for deployed applications.</strong> - It can result in displaying sensitive information from exceptions to end users. - For local debugging, enable the <strong>Development</strong> environment by setting the <strong>ASPNETCORE_ENVIRONMENT</strong> environment variable to <strong>Development</strong> - and restarting the app. -</p> |