input submit replaced with button submit.
input file was explicitly set to choose just one file.
This commit is contained in:
parent
2e8e97d0a5
commit
c8958427a3
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user