diff options
| author | Samuel Wilhelmsson <samuel.wilhelmsson@gmail.com> | 2024-02-26 23:14:04 +0100 |
|---|---|---|
| committer | Samuel Wilhelmsson <samuel.wilhelmsson@gmail.com> | 2024-02-26 23:14:04 +0100 |
| commit | 6db23276d15f05ab559fcd83619f2939fee177df (patch) | |
| tree | bc9043a16c1245b31c4bd30fdf3f4eea9a159a21 | |
| parent | 2946eb576251cda0361a07511929f0ead17e82d1 (diff) | |
| download | tinygram-6db23276d15f05ab559fcd83619f2939fee177df.tar.gz tinygram-6db23276d15f05ab559fcd83619f2939fee177df.zip | |
remove accept on file upload
| -rw-r--r-- | index.templ | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/index.templ b/index.templ index b0faf2d..28fb754 100644 --- a/index.templ +++ b/index.templ @@ -73,7 +73,7 @@ templ uploadPage(csrfToken string) { hx-post="/upload" _="on htmx:xhr:progress(loaded, total) set #progress.value to (loaded/total)*100" > - <input type="file" name="file" accept="image/png, image/jpeg"/> + <input type="file" name="file"/> <input type="hidden" name="_csrf" value={ csrfToken }/> <div> <span>Description:</span> |
