- Serving Flask app "application" (lazy loading)
(服务Flask应用“应用”(延迟加载))
- Environment: production WARNING: Do not use the development server in a production environment.
(环境:生产中警告:请勿在生产环境中使用开发服务器。)
Use a production WSGI server instead. (请改用生产WSGI服务器。)
Debug mode: off
(调试模式:关闭)
@application.route('/', methods=['POST', 'GET']) @application.route('/') def default():
(@ application.route('/',methods = ['POST','GET'])@ application.route('/')def default():)
Originally, running python application.py works - the page appears but after a while of doing the same thing, the web page doesn't appear anymore and instead the warning above shows in my terminal.
(最初,运行python application.py可以正常工作-该页面出现,但经过一阵子相同的操作后,该网页不再显示,而是在我的终端中显示了以上警告。)
What is the problem? (问题是什么?)
ask by Chelsea Ip Tze Hwan translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…