Continous Integration in der Praxis Gruppenarbeit
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.5 KiB

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