пофиксил то что шаблон не работает

+ добавил ./ перед index.html

пишу с мобильного гитхаба (на сегодня точно все)
This commit is contained in:
dttric
2024-04-29 23:01:10 +07:00
committed by GitHub
parent 2592688a74
commit ef87f56239
+2 -2
View File
@@ -2,5 +2,5 @@ from flask import Flask, render_template
app = Flask(__name__)
@app.route("/")
def hello_world():
render_template("index.html")
def app():
render_template("./index.html")