Added some basic HTTP error codes. Will add more once I have the time.

This commit is contained in:
2025-12-29 15:36:43 +01:00
parent 81a9ae5a43
commit 4975838301
5 changed files with 135 additions and 0 deletions

27
errors/500.html Normal file
View File

@@ -0,0 +1,27 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/assets/css/style.css">
<link rel="icon" href="/favicon.png" type="image/png" />
<title>500!</title>
</head>
<body>
<div class="content">
<h1>500!</h1>
<h2>500 - Internal Server Error</h2>
<h2><a href="/index.html">Return to the index!</a></h2>
<h4><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/500">Learn more about this code.</a> </h4>
</div>
<div class="clouds">
<img src="/assets/images/clouds.png" alt="Clouds">
</div>
<canvas id="night"></canvas>
<script src="/assets/js/script.js" defer></script>
</body>
</html>