microblog/app/views.py

7 lines
98 B
Python

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