This commit is contained in:
Mateusz Gruszczyński
2026-05-08 20:57:11 +02:00
parent 3b9eaedb33
commit 87a5697767

View File

@@ -13,7 +13,7 @@ def _asset_url(key: str) -> str:
return path if path.startswith("http") else url_for("static", filename=path) return path if path.startswith("http") else url_for("static", filename=path)
@app.get("/favicon.ico") @bp.get("/favicon.ico")
def favicon_ico(): def favicon_ico():
response = send_from_directory( response = send_from_directory(
current_app.static_folder, current_app.static_folder,
@@ -23,7 +23,7 @@ def favicon_ico():
) )
response.headers["Cache-Control"] = "public, max-age=86400" response.headers["Cache-Control"] = "public, max-age=86400"
return response return response
@bp.route("/login", methods=["GET", "POST"]) @bp.route("/login", methods=["GET", "POST"])
def login(): def login():