Initial Flask setup

This commit is contained in:
GabePope
2022-07-15 21:06:27 +10:00
parent 33a21db7de
commit cefb848ef2
2 changed files with 172 additions and 0 deletions

12
app.py Normal file
View File

@@ -0,0 +1,12 @@
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello_world():
return "<p>Hello, World!</p>"
@app.route("/test")
def test_route():
return "<p>Hello, test!</p>"