Add a note explaining that expired files aren't immediately removed

This commit is contained in:
Emi Simpson 2022-11-22 16:51:54 -05:00
parent 6d036eeb7d
commit 78b8a73ea5
Signed by untrusted user: Ember
GPG key ID: A12F2C2FFDC3D847

View file

@ -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(", ") }}