add a file uploader

This commit is contained in:
Alexandru 2024-09-19 07:44:30 +03:00
parent c5f1c1b97d
commit c13ade559b
3 changed files with 9 additions and 23 deletions

8
content/upload/_index.md Normal file
View file

@ -0,0 +1,8 @@
---
title: File Uploader
---
This is a pretty bare bones file uploader. You can see the (badly written but whatever) backend here: https://git.fzorb.xyz/fzorb/filehandler
<form enctype="multipart/form-data" action="https://files.fzorb.xyz/upload" method="post">
<input type="file" name="file">
<input type="submit" value="upload" class="uploadbuton">
</form>