From 34c31448bb61706f0adadfd8eb900b8f0c156021 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 6 Aug 2023 04:33:09 +0400 Subject: [PATCH] Shortened two sentences on an index page. --- web/templates/index.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/templates/index.jade b/web/templates/index.jade index 1c9df09..0442af0 100644 --- a/web/templates/index.jade +++ b/web/templates/index.jade @@ -16,7 +16,7 @@ block body button(type="submit") Upload p.center #[b #{storageAvailableStr}] left. section - p You can use cURL to upload a file: #[code curl -F 'file=@somefile.ext' https://upload.arav.su] + 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]. @@ -26,5 +26,5 @@ block body input(type="text", name="hash" placeholder="File hash goes here" minlength="43" maxlength="43" size="43" required="") button(type="submit") Delete section - p You can delete a file using cURL: #[code curl -XDELETE https://upload.arav.su/<hash>] + 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>] \ No newline at end of file