mirror of
https://github.com/zoffline/zwift-offline.git
synced 2026-07-28 14:47:12 -07:00
Increase MAX_CONTENT_LENGTH
This commit is contained in:
+1
-1
@@ -148,7 +148,7 @@ if not os.path.exists(SECRET_KEY_FILE):
|
||||
f.write(os.urandom(16))
|
||||
with open(SECRET_KEY_FILE, 'rb') as f:
|
||||
app.config['SECRET_KEY'] = f.read()
|
||||
app.config['MAX_CONTENT_LENGTH'] = 4 * 1024 * 1024 # A typical .fit file with power, cadence, and heartrate data recorded in December 2024 is approximately 1.3 MB / 4 hours.
|
||||
app.config['MAX_CONTENT_LENGTH'] = 16 * 1024 * 1024
|
||||
db = SQLAlchemy()
|
||||
db.init_app(app)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user