Added the option to set the bind address and port.

This commit is contained in:
2024-10-11 15:16:18 +01:00
committed by GitHub
parent 8e93f695bf
commit d4781a180e

5
app.py
View File

@@ -239,5 +239,6 @@ with app.app_context():
db.create_all() db.create_all()
# Run the Flask app # Run the Flask app
if __name__ == "__main__": if __name__ == '__main__':
app.run(debug=True) app.run(host='127.0.0.1', port=5050, debug=True)