def start_app():
"""
Run in development mode, never used in production.
"""
port = int(os.getenv("PORT", 5000))
try:
app = create_app()
app.run(host='0.0.0.0', port=port)
except APIException as e:
print ("Application failed to start")
start_web.py 文件源码
python
阅读 20
收藏 0
点赞 0
评论 0
评论列表
文章目录