Correct code I did done yesterday

This commit is contained in:
Michał Gdula 2023-04-07 09:18:03 +00:00
parent d1b3afdb22
commit 8357241487
10 changed files with 62 additions and 18 deletions

View file

@ -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: