Prepare for fly.io

This commit is contained in:
2025-07-01 11:22:56 +02:00
committed by Jens Luedicke
parent de510baac1
commit 264144ebca
4 changed files with 101 additions and 1 deletions

3
app.py
View File

@@ -1840,4 +1840,5 @@ def download_team_hours_export():
return redirect(url_for('team_hours'))
if __name__ == '__main__':
app.run(debug=True, port=5050)
port = int(os.environ.get('PORT', 5000))
app.run(debug=False, host='0.0.0.0', port=port)