Browse Source

Bump max content length

Getty Ritter 3 years ago
parent
commit
5c18a96c82
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lc/config.py

+ 2 - 0
lc/config.py

@@ -32,6 +32,8 @@ class App:
             __name__,
             static_folder=os.path.join(os.getcwd(), config.static_path),
         )
+        # 16MB
+        app.config['MAX_CONTENT_LENGTH'] = 16 * 1024 * 1024
         app.secret_key = config.secret_key
         return App(
             config=config,