1
0
Fork 0

Why did I put .center for every p if I could add it just for a section..? Nevermind.

This commit is contained in:
Alexander Andreev 2022-07-01 04:09:23 +04:00
parent 870b35cb65
commit 26974fa5ec
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F
1 changed files with 8 additions and 8 deletions

View File

@ -25,19 +25,19 @@ block body
form(action="/" method="POST" enctype="multipart/form-data")
input(type="file" name="file" multiple=false)
button(type="submit") Upload
section
p.center You can use cURL to upload a file: #[code curl -F 'file=@somefile.ext' https://upload.arav.top]
p.center Over I2P: #[code curl --proxy 127.0.0.1:4444 -F 'file=@somefile.ext' http://upload.arav.i2p]
p.center A resulted link looks like this: #[code /f/base64rawURL(sha256)/filename.ext].
p.center filename.ext is mandatory. It is a name the file will be retrieved with.
section.center
p You can use cURL to upload a file: #[code curl -F 'file=@somefile.ext' https://upload.arav.top]
p Over I2P: #[code curl --proxy 127.0.0.1:4444 -F 'file=@somefile.ext' http://upload.arav.i2p]
p A resulted link looks like this: #[code /f/base64rawURL(sha256)/filename.ext].
p filename.ext is mandatory. It is a name the file will be retrieved with.
section.center
h2 Delete
form(action="/delete" method="POST")
input(type="text", name="hash" placeholder="File hash goes here" minlength="43" maxlength="43" size="43" required="")
button(type="submit") Delete
section
p.center You can delete a file using cURL: #[code curl -XDELETE https://upload.arav.top/<hash>]
p.center Over I2P: #[code curl --proxy 127.0.0.1:4444 -XDELETE https://upload.arav.top/<hash>]
section.center
p You can delete a file using cURL: #[code curl -XDELETE https://upload.arav.top/<hash>]
p Over I2P: #[code curl --proxy 127.0.0.1:4444 -XDELETE https://upload.arav.top/<hash>]
section
h2 Privacy statements
p I WILL cooperate with law enforcements and provide them with logs, guess I shouldn't clarify why. Abuses should be sent to #[a(href="mailto:admin@arav.top") admin@arav.top].