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

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

пишу с мобильного гитхаба (на сегодня точно все)
main
dttric 6 months ago committed by GitHub
parent 2592688a74
commit ef87f56239
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2,5 +2,5 @@ from flask import Flask, render_template
app = Flask(__name__) app = Flask(__name__)
@app.route("/") @app.route("/")
def hello_world(): def app():
render_template("index.html") render_template("./index.html")
Loading…
Cancel
Save