【未解决】WARNING: This is a development server. Do not use it in a production deployment.if __name__ =="

使用flask框架时遇到这样的警告!

WARNING: This is a development server. Do not use it in a production deployment.

Debug mode: off

 

2.6 更新

------------------------------------------------------

if __name__ =="__main__":
    app.run(port=4555, debug=True)

debug模式可以这样开启

你可能感兴趣的:(【未解决】WARNING: This is a development server. Do not use it in a production deployment.if __name__ ==")