mirror of
https://git.0x0.st/mia/0x0.git
synced 2024-12-22 08:11:07 -05:00
config.example.py: Clarify MIME ext mapping
This commit is contained in:
parent
be796b9b5b
commit
00dba0e189
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue