svitvojimilioni
590a43b28e
- 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
8 lines
147 B
Python
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")
|