diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-05-28 20:54:21 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-05-28 20:54:21 +0200 |
| commit | d0027688688e6cd97468dc52d95e56d5e108a26f (patch) | |
| tree | c10b253cd20dd4d9e26e4e765f9c5133e50e3ed0 | |
| parent | b984be919754018aa48bba1bf134da03c9baf2a8 (diff) | |
| download | WRMS-d0027688688e6cd97468dc52d95e56d5e108a26f.tar.gz WRMS-d0027688688e6cd97468dc52d95e56d5e108a26f.zip | |
restrict file upload to audio mime types
| -rw-r--r-- | web/client.html | 2 |
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}} |
