microblog2/app/routes.py

8 lines
99 B
Python
Raw Permalink Normal View History

2017-09-05 06:23:07 +00:00
from app import app
@app.route('/')
@app.route('/index')
def index():
return "Hello, World!"