Add a note explaining that expired files aren't immediately removed
This commit is contained in:
parent
6d036eeb7d
commit
78b8a73ea5
1 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,9 @@ Files can be set to expire sooner by adding an "expires" parameter (in hours)
|
||||||
OR by setting "expires" to a timestamp in epoch milliseconds
|
OR by setting "expires" to a timestamp in epoch milliseconds
|
||||||
curl -F'file=@yourfile.png' -F'expires=1681996320000' {{ fhost_url }}
|
curl -F'file=@yourfile.png' -F'expires=1681996320000' {{ fhost_url }}
|
||||||
|
|
||||||
|
Expired files won't be removed immediately, but will be removed as part of
|
||||||
|
the next purge.
|
||||||
|
|
||||||
{% set max_size = config["MAX_CONTENT_LENGTH"]|filesizeformat(True) %}
|
{% set max_size = config["MAX_CONTENT_LENGTH"]|filesizeformat(True) %}
|
||||||
Maximum file size: {{ max_size }}
|
Maximum file size: {{ max_size }}
|
||||||
Not allowed: {{ config["FHOST_MIME_BLACKLIST"]|join(", ") }}
|
Not allowed: {{ config["FHOST_MIME_BLACKLIST"]|join(", ") }}
|
||||||
|
|
Loading…
Reference in a new issue