summaryrefslogtreecommitdiff
path: root/Pages
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2023-08-23 09:37:51 +1000
committerJake Mannens <jake@asger.xyz>2023-08-23 09:37:51 +1000
commit56e3e6072146e0d0d5fb7c098baced157c592998 (patch)
tree001248c798ee36df5d887ccebfc516fbd740435e /Pages
parentf64d0b64918e0c2955d8519dd563563c69452bd4 (diff)
parent189688cd615e3e9734e4690eb39794c29cd24c21 (diff)
Merge branch 'dev' of gitlab.com:plasmicplexus/HyperBooru-Server into dev
Diffstat (limited to 'Pages')
-rw-r--r--Pages/Upload.razor9
1 files changed, 4 insertions, 5 deletions
diff --git a/Pages/Upload.razor b/Pages/Upload.razor
index c139aef..a9a1667 100644
--- a/Pages/Upload.razor
+++ b/Pages/Upload.razor
@@ -4,8 +4,7 @@
<div id="dropzone">
<p>Drag a file to upload it</p>
- <input type="file" accept="image/*"/>
-</div>
-
-@code {
-} \ No newline at end of file
+ <form id="upload" action="/media" method="post" enctype="multipart/form-data">
+ <input type="file" id="myFile" name="filename" accept="image/*,video/*"/>
+ </form>
+</div> \ No newline at end of file