Improve server error handling

This commit is contained in:
Joscha 2024-03-10 15:26:50 +01:00
parent 9d17d34642
commit e0a668a581
6 changed files with 79 additions and 33 deletions

View file

@ -7,11 +7,10 @@
</head>
<body>
<h1>Upload an image</h1>
<form action="image" method="post" enctype="multipart/form-data">
<form method="post" enctype="multipart/form-data">
<ol>
<li><input type="file" name="image" /></li>
<li><button>Print!</button></li>
<li>Come back to this page</li>
</ol>
</form>
</body>

View file

@ -8,7 +8,7 @@
<body>
<h1>Thermal Printer Control</h1>
<ul>
<a href="image.html">Upload an image</a>
<a href="image">Upload an image</a>
</ul>
</body>
</html>