diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-05-06 18:29:43 +0300 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-05-06 18:29:43 +0300 |
| commit | 53921ccea49bd8a7840d5bbc71c57c8691ed92bf (patch) | |
| tree | d5a867425bd4f97fc86d6d51119bd4da2a0f3c1f /ExamTemplate/Web/Views/Shared/Error.cshtml | |
| parent | 9000f940c89e1cfa35f959f2aefd7b748eddc1ce (diff) | |
| download | it-kariera-exam-template-53921ccea49bd8a7840d5bbc71c57c8691ed92bf.tar it-kariera-exam-template-53921ccea49bd8a7840d5bbc71c57c8691ed92bf.tar.gz it-kariera-exam-template-53921ccea49bd8a7840d5bbc71c57c8691ed92bf.zip | |
Removed unnecessary usings, space identation got updated to tab identation and added authentication in Startup.cs
Diffstat (limited to 'ExamTemplate/Web/Views/Shared/Error.cshtml')
| -rw-r--r-- | ExamTemplate/Web/Views/Shared/Error.cshtml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ExamTemplate/Web/Views/Shared/Error.cshtml b/ExamTemplate/Web/Views/Shared/Error.cshtml index 08a315d..5a7ce95 100644 --- a/ExamTemplate/Web/Views/Shared/Error.cshtml +++ b/ExamTemplate/Web/Views/Shared/Error.cshtml @@ -1,6 +1,6 @@ @model ErrorViewModel
@{
- ViewData["Title"] = "Error";
+ ViewData["Title"] = "Error";
}
<h1 class="text-danger">Error.</h1>
@@ -8,18 +8,18 @@ @if (Model.ShowRequestId)
{
- <p>
- <strong>Request ID:</strong> <code>@Model.RequestId</code>
- </p>
+ <p>
+ <strong>Request ID:</strong> <code>@Model.RequestId</code>
+ </p>
}
<h3>Development Mode</h3>
<p>
- Swapping to <strong>Development</strong> environment will display more detailed information about the error that occurred.
+ Swapping to <strong>Development</strong> environment will display more 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.
+ <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>
|
