This commit is contained in:
Rich
2021-07-03 07:45:44 +01:00
parent f013e7efc4
commit 4e686a3043
4 changed files with 13 additions and 1 deletions

5
app/__init__.py Normal file
View File

@@ -0,0 +1,5 @@
from flask import Flask
app = Flask(__name__)
from app import routes

6
app/routes.py Normal file
View File

@@ -0,0 +1,6 @@
from app import app
@app.route('/')
@app.route('/index')
def index():
return "Hello, World!"