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
+1 -1
View File
@@ -10,7 +10,7 @@
"request": "launch",
"module": "flask",
"env": {
"FLASK_APP": "app.py",
"FLASK_APP": "tr.py",
"FLASK_ENV": "development"
},
"args": [
+5
View File
@@ -0,0 +1,5 @@
from flask import Flask
app = Flask(__name__)
from app import routes
+6
View File
@@ -0,0 +1,6 @@
from app import app
@app.route('/')
@app.route('/index')
def index():
return "Hello, World!"
+1
View File
@@ -0,0 +1 @@
from app import app