mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
Correct code I did done yesterday
This commit is contained in:
parent
d1b3afdb22
commit
8357241487
10 changed files with 62 additions and 18 deletions
|
@ -58,7 +58,9 @@ def create_app(test_config=None):
|
|||
UPLOAD_FOLDER=os.path.join(USER_DIR, 'uploads'),
|
||||
ALLOWED_EXTENSIONS=conf['upload']['allowed-extensions'],
|
||||
MAX_CONTENT_LENGTH=1024 * 1024 * conf['upload']['max-size'],
|
||||
WEBSITE=conf['website'],
|
||||
ADMIN_CONF=conf['admin'],
|
||||
UPLOAD_CONF=conf['upload'],
|
||||
WEBSITE_CONF=conf['website'],
|
||||
)
|
||||
|
||||
if test_config is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue