diff options
| author | Mia Herkt <mia@0x0.st> | 2022-12-01 02:49:28 +0100 |
|---|---|---|
| committer | Mia Herkt <mia@0x0.st> | 2022-12-01 02:49:28 +0100 |
| commit | 0b80a62f80ebe6b5ad6e9db99036020b8d7d0cea (patch) | |
| tree | 22c40208bc81cf8203c7f4e5f801900c624aa4de /templates/index.html | |
| parent | ed84d3752c56f06e73876af0ab162999562a9d61 (diff) | |
Add support for “secret” file URLs
Closes #47
Diffstat (limited to 'templates/index.html')
| -rw-r--r-- | templates/index.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html index d98482c..f36fb54 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,6 +6,9 @@ HTTP POST files here: curl -F'file=@yourfile.png' {{ fhost_url }} You can also POST remote URLs: curl -F'url=http://example.com/image.jpg' {{ fhost_url }} +If you don't want the resulting URL to be easy to guess: + curl -F'file=@yourfile.png' -Fsecret= {{ fhost_url }} + curl -F'url=http://example.com/image.jpg' -Fsecret= {{ fhost_url }} Or you can shorten URLs: curl -F'shorten=http://example.com/some/long/url' {{ fhost_url }} |
