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
|
section#upload.center
|
||||||
h2 Upload
|
h2 Upload
|
||||||
form(action="/" method="POST" enctype="multipart/form-data")
|
form(action="/" method="POST" enctype="multipart/form-data")
|
||||||
input(type="file" name="file")
|
input(type="file" name="file" multiple=false)
|
||||||
input(type="submit" value="Upload")
|
button(type="submit") Upload
|
||||||
section
|
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 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.
|
p.center A resulted link looks like this /f/base64rawURL(sha256)/filename.ext.
|
||||||
|
Loading…
Reference in New Issue
Block a user