mirror of
https://git.0x0.st/mia/0x0.git
synced 2025-04-19 06:43:03 +02:00
Corrections as per request
https://git.0x0.st/mia/0x0/pulls/73#issuecomment-238 https://git.0x0.st/mia/0x0/pulls/73#issuecomment-237
This commit is contained in:
parent
32118c2cc8
commit
dd7f7eff38
1 changed files with 9 additions and 9 deletions
|
@ -25,8 +25,8 @@
|
||||||
# sqlite:/// + /path/to/your/database.db
|
# sqlite:/// + /path/to/your/database.db
|
||||||
#
|
#
|
||||||
# Until https://git.0x0.st/mia/0x0/issues/70 is resolved, it's recommended that
|
# Until https://git.0x0.st/mia/0x0/issues/70 is resolved, it's recommended that
|
||||||
# any sqlite databases use an absolute paths, as relative paths aren't
|
# any sqlite databases use an absolute path, as relative paths aren't consistently
|
||||||
# consistently resolved.
|
# resolved.
|
||||||
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + '/path/to/database.sqlite'
|
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + '/path/to/database.sqlite'
|
||||||
|
|
||||||
|
|
||||||
|
@ -81,15 +81,15 @@ FHOST_STORAGE_PATH = "up"
|
||||||
FHOST_MAX_EXT_LENGTH = 9
|
FHOST_MAX_EXT_LENGTH = 9
|
||||||
|
|
||||||
|
|
||||||
# Force the use of certain extensions for certain MIME types
|
# A list of filetypes to use when the uploader doesn't specify one
|
||||||
#
|
#
|
||||||
# When a user uploads a file, we try to figure out what kind it is, both by
|
# When a user uploads a file with no file extension, we try to find an extension that
|
||||||
# looking at the contents of the file and checking what the user said the file
|
# works for that file. This configuration option is the first thing that we check. If
|
||||||
# was. If the type of the file is on this list, then we force the uploaded
|
# the type of a file without an extension is in this dict, then it'll be used as the file
|
||||||
# file to have the file extension that matches.
|
# extension for that file.
|
||||||
#
|
#
|
||||||
# For example, if the user uploads "myfile.png", but the file is actually a
|
# For example, if the user uploads "myfile" with no extension, and the file is a jpeg
|
||||||
# jpg, the file will get a URL like "eAa.jpg"
|
# image, the file will get a URL like "eAa.jpg"
|
||||||
#
|
#
|
||||||
# For a list of MIME types you can use in this list, check
|
# For a list of MIME types you can use in this list, check
|
||||||
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
|
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
|
||||||
|
|
Loading…
Add table
Reference in a new issue