1
0

Updated index.jade.

This commit is contained in:
Alexander Andreev 2023-08-22 18:46:02 +04:00
parent 58197af85d
commit 9c42144b45
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -17,14 +17,12 @@ block body
p.center #[b #{storageAvailableStr}] left.
section
p Using cURL: #[code curl -F 'file=@somefile.ext' https://upload.arav.su]
p Over I2P: #[code curl --proxy 127.0.0.1:4444 -F 'file=@somefile.ext' http://upload.arav.i2p]
p Same for Tor, just set #[code --proxy] and replace a domain.
p A resulted link looks like this: #[code /base64rawURL(salted SHA-256)/filename.ext].
p Also works under other networks (I2P, Tor, Yggdrasil). For Tor and I2P you'll need to add a #[code --proxy] option for cURL. Same for deletion.
p A resulted link has the following structure: #[code <site>/<hash>/<file>.<ext>].
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 Using cURL: #[code curl -XDELETE https://upload.arav.su/<hash>]
p Over I2P: #[code curl --proxy 127.0.0.1:4444 -XDELETE http://upload.arav.i2p/<hash>]
p Using cURL: #[code curl -XDELETE https://upload.arav.su/<hash>]