Fixed config
- config didn't work now it's working properly - it takes config from envirionment variable FLASK_CONFIG - if no such variable exists it uses Development config as default
This commit is contained in:
7
app/routes.py
Normal file
7
app/routes.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from flask import render_template
|
||||
|
||||
from . import app
|
||||
|
||||
@app.route("/", methods=["GET"])
|
||||
def index():
|
||||
return render_template("pages/index.html")
|
Reference in New Issue
Block a user