| | 1 | | @page |
| | 2 | | @model MUNity.BlazorServer.Pages.ErrorModel |
| | 3 | |
|
| | 4 | | <!DOCTYPE html> |
| | 5 | | <html> |
| | 6 | |
|
| | 7 | | <head> |
| | 8 | | <meta charset="utf-8" /> |
| | 9 | | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> |
| | 10 | | <title>Error</title> |
| | 11 | | <link href="~/css/bootstrap/bootstrap.min.css" rel="stylesheet" /> |
| | 12 | | <link href="~/css/app.css" rel="stylesheet" /> |
| | 13 | | </head> |
| | 14 | |
|
| | 15 | | <body> |
| | 16 | | <div class="main"> |
| | 17 | | <div class="content px-4"> |
| | 18 | | <h1 class="text-danger">Error.</h1> |
| | 19 | | <h2 class="text-danger">An error occurred while processing your request.</h2> |
| | 20 | |
|
| 0 | 21 | | @if (Model.ShowRequestId) |
| 0 | 22 | | { |
| | 23 | | <p> |
| 0 | 24 | | <strong>Request ID:</strong> <code>@Model.RequestId</code> |
| | 25 | | </p> |
| 0 | 26 | | } |
| | 27 | |
|
| | 28 | | <h3>Development Mode</h3> |
| | 29 | | <p> |
| | 30 | | Swapping to the <strong>Development</strong> environment displays detailed information about the error t |
| | 31 | | </p> |
| | 32 | | <p> |
| | 33 | | <strong>The Development environment shouldn't be enabled for deployed applications.</strong> |
| | 34 | | It can result in displaying sensitive information from exceptions to end users. |
| | 35 | | For local debugging, enable the <strong>Development</strong> environment by setting the <strong>ASPNETCO |
| | 36 | | and restarting the app. |
| | 37 | | </p> |
| | 38 | | </div> |
| | 39 | | </div> |
| | 40 | | </body> |
| | 41 | |
|
| | 42 | | </html> |