Skip to content

Commit

Permalink
change eror UI
Browse files Browse the repository at this point in the history
  • Loading branch information
hoapooh committed Jul 26, 2024
1 parent 6b984dd commit 42ffff7
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
ViewData["Title"] = "Error";
}

@* <h1 class="text-danger">Error.</h1>
<h1 class="text-danger">Error.</h1>
<h2 class="text-danger">An error occurred while processing your request.</h2>

@if (Model.ShowRequestId)
Expand All @@ -22,9 +22,9 @@
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> *@
</p>

<!DOCTYPE html>
@* <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
Expand Down Expand Up @@ -241,4 +241,4 @@
</div>
</main>
</body>
</html>
</html> *@

0 comments on commit 42ffff7

Please sign in to comment.