Skip to content

Commit

Permalink
Increase the upload size limit
Browse files Browse the repository at this point in the history
Addresses #397
  • Loading branch information
kanhao100 authored Dec 8, 2024
1 parent 65d887f commit 84394fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zwift_offline.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def make_dir(name):
f.write(os.urandom(16))
with open(SECRET_KEY_FILE, 'rb') as f:
app.config['SECRET_KEY'] = f.read()
app.config['MAX_CONTENT_LENGTH'] = 1024 * 1024
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.
db = SQLAlchemy()
db.init_app(app)

Expand Down

0 comments on commit 84394fc

Please sign in to comment.