diff options
| author | Mia Herkt <mia@0x0.st> | 2022-11-28 22:25:52 +0100 |
|---|---|---|
| committer | Mia Herkt <mia@0x0.st> | 2022-11-28 22:30:53 +0100 |
| commit | 00dba0e189125706528068459ec35a1895f20736 (patch) | |
| tree | 3f56a153252382946a569f2cb4eb224b48ad2826 /instance | |
| parent | be796b9b5bf38e9c0292e544534d35059b392c3e (diff) | |
config.example.py: Clarify MIME ext mapping
Diffstat (limited to 'instance')
| -rw-r--r-- | instance/config.example.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/instance/config.example.py b/instance/config.example.py index cd78dde..64c977c 100644 --- a/instance/config.example.py +++ b/instance/config.example.py @@ -86,7 +86,8 @@ FHOST_MAX_EXT_LENGTH = 9 # When a user uploads a file with no file extension, we try to find an extension that # works for that file. This configuration option is the first thing that we check. If # the type of a file without an extension is in this dict, then it'll be used as the file -# extension for that file. +# extension for that file. Otherwise, we try to pick something sensible from libmagic's +# database. # # For example, if the user uploads "myfile" with no extension, and the file is a jpeg # image, the file will get a URL like "eAa.jpg" |
