From: Chris Fulljames Date: Sun, 26 Jan 2025 17:54:27 +0000 (-0500) Subject: Increase max file size to 1GB X-Git-Url: https://littlesong.place/gitweb/gitweb.cgi?a=commitdiff_plain;h=9cd0de972d322a8359511da09e0ded5a903e1190;p=littlesongplace.git Increase max file size to 1GB --- diff --git a/main.py b/main.py index 08ccbbd..d566412 100644 --- 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