Move HTML to own file instead of inline with the code

This commit is contained in:
2022-04-19 16:38:55 +02:00
parent 07944342df
commit b40895e691
4 changed files with 165 additions and 19 deletions

14
templates/index.html Normal file
View File

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<title>discord-nice-embed</title>
</head>
<body>
<a href="/docs">Swagger UI - API documentation</a>
<a href="/redoc">ReDoc - Alternative API documentation</a>
<form action="/uploadfiles/" enctype="multipart/form-data" method="post">
<input name="file" type="file" />
<input type="submit" />
</form>
</body>
</html>