dm/python/wsgi.py

5 lines
143 B
Python
Raw Normal View History

2024-06-19 19:23:01 +08:00
from app import app
import os
if __name__ == "__main__":
app.run(host='0.0.0.0', port=os.environ.get("FLASK_SERVER_PORT"), debug=True)