aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-05-28 20:54:21 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-05-28 20:54:21 +0200
commitd0027688688e6cd97468dc52d95e56d5e108a26f (patch)
treec10b253cd20dd4d9e26e4e765f9c5133e50e3ed0 /web
parentb984be919754018aa48bba1bf134da03c9baf2a8 (diff)
downloadWRMS-d0027688688e6cd97468dc52d95e56d5e108a26f.tar.gz
WRMS-d0027688688e6cd97468dc52d95e56d5e108a26f.zip
restrict file upload to audio mime types
Diffstat (limited to 'web')
-rw-r--r--web/client.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/client.html b/web/client.html
index ee1a649..e25ff55 100644
--- a/web/client.html
+++ b/web/client.html
@@ -323,7 +323,7 @@
{{if .Config.HasUpload}}
<form id="uploadForm" onsubmit="return submitUpload()">
- <input id="uploadInput" name="song" type="file">
+ <input id="uploadInput" name="song" type="file", accept="audio/*">
<button id="uploadButton", type="submit">Upload</button>
</form>
{{end}}