microblog2/app/routes.py

8 lines
99 B
Python

from app import app
@app.route('/')
@app.route('/index')
def index():
return "Hello, World!"