diff --git a/internal/handlers/web/templates/index.jade b/internal/handlers/web/templates/index.jade index 7d8ef71..c85fd66 100644 --- a/internal/handlers/web/templates/index.jade +++ b/internal/handlers/web/templates/index.jade @@ -18,8 +18,8 @@ block body section#upload.center h2 Upload form(action="/" method="POST" enctype="multipart/form-data") - input(type="file" name="file") - input(type="submit" value="Upload") + input(type="file" name="file" multiple=false) + button(type="submit") Upload section p.center You can use curl to upload a file: #[code curl -X POST -F 'file=@somefile.ext' https://upload.arav.top/]. p.center A resulted link looks like this /f/base64rawURL(sha256)/filename.ext.