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
parent 9e4fa86099
commit ce5c77aefb
Signed by: lynnesbian
GPG key ID: FB7B970303ACE499
2 changed files with 4 additions and 3 deletions

3
web.py
View file

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

4
wsgi.py Normal file
View file

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