From 1abe43f4c005252d38137796a71d6651a27a3722 Mon Sep 17 00:00:00 2001 From: Mihai Galos Date: Mon, 26 Sep 2022 18:13:28 +0200 Subject: [PATCH] Update index.html --- templates/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/index.html b/templates/index.html index cef9de2..d646b9c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -9,6 +9,9 @@ You can also POST remote URLs: Or you can shorten URLs: curl -F'shorten=http://example.com/some/long/url' {{ fhost_url }} +Alternatively, you can use PUT: + curl -X PUT -T 'yourfile.png' {{ fhost_url }} + File URLs are valid for at least 30 days and up to a year (see below). Shortened URLs do not expire. {% set max_size = config["MAX_CONTENT_LENGTH"]|filesizeformat(True) %}