]> littlesong.place Git - littlesongplace.git/commitdiff
Increase max file size to 1GB
authorChris Fulljames <christianfulljames@gmail.com>
Sun, 26 Jan 2025 17:54:27 +0000 (12:54 -0500)
committerChris Fulljames <christianfulljames@gmail.com>
Sun, 26 Jan 2025 17:54:27 +0000 (12:54 -0500)
main.py

diff --git a/main.py b/main.py
index 08ccbbd58d0fe9211efa6a89b735d302a88a6e71..d5664121a3df3f06c140d67ed9f145fe638de0f5 100644 (file)
--- a/main.py
+++ b/main.py
@@ -40,7 +40,7 @@ root_logger.addHandler(handler)
 
 app = Flask(__name__)
 app.secret_key = os.environ["SECRET_KEY"] if "SECRET_KEY" in os.environ else "dev"
-app.config["MAX_CONTENT_LENGTH"] = 50 * 1024 * 1024
+app.config["MAX_CONTENT_LENGTH"] = 1 * 1024 * 1024 * 1024
 
 if "DATA_DIR" in os.environ:
     # Running on server behind proxy