This commit is contained in:
Daria
2023-11-10 10:10:42 +03:00
parent 0956275ec4
commit ddc8ccff72
21 changed files with 980 additions and 10 deletions

14
2.1/views/index.html Normal file
View File

@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<title>Image Uploader</title>
</head>
<body>
<form method="POST" action="/upload" enctype="multipart/form-data">
<input type="file" name="uploadImg" />
<button type="submit">Upload</button>
</form>
<br />
<button onclick="window.location.href='/images'">Show Images</button>
</body>
</html>