sarsooxyz.pyreact/main.py

13 lines
242 B
Python
Raw Normal View History

2019-02-07 11:50:42 +00:00
from flask import Flask, render_template
2019-02-07 00:13:16 +00:00
app = Flask(__name__)
@app.route('/')
def hello():
2019-02-07 11:50:42 +00:00
return render_template('index.html')
2019-02-07 00:13:16 +00:00
if __name__ == '__main__':
app.run(host='127.0.0.1', port=8080, debug=True)
# [END gae_python37_app]