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:
2023-08-15 20:27:49 -04:00
parent 85a90a8fc1
commit 590a43b28e
10 changed files with 36 additions and 0 deletions

7
app/routes.py Normal file
View 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")