flask-skaf/app/routes.py
svitvojimilioni 590a43b28e
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
2023-08-15 20:29:21 -04:00

8 lines
147 B
Python

from flask import render_template
from . import app
@app.route("/", methods=["GET"])
def index():
return render_template("pages/index.html")