the file you run with flask is now wsgi.py

This commit is contained in:
Lynne Megido 2018-11-13 23:17:19 +10:00
父節點 9e4fa86099
當前提交 ce5c77aefb
簽署人: lynnesbian
GPG 金鑰 ID: FB7B970303ACE499
共有 2 個檔案被更改,包括 4 行新增3 行删除

3
web.py
查看文件

@ -251,6 +251,3 @@ def cc_connect_complete():
@app.route('/settings')
def settings_page():
return render_template('settings.html')
if __name__ == "__main__":
app.run() #4734 is t9 for 'greg'

4
wsgi.py Normal file
查看文件

@ -0,0 +1,4 @@
from web import app
if __name__ == "__main__":
app.run()