mirror of https://github.com/mitsuhiko/flask.git
Eric Schles
7 years ago
2 changed files with 18 additions and 0 deletions
@ -0,0 +1,9 @@
|
||||
from flask import Flask |
||||
|
||||
app = Flask(__name__) |
||||
|
||||
@app.route("/", methods=["GET", "POST"]) |
||||
def index(): |
||||
return "Hello world!" |
||||
|
||||
app.run(debug=True) |
Loading…
Reference in new issue