Better sitemap root

This commit is contained in:
Bottersnike 2021-12-29 01:18:51 +00:00
parent 92a8a4301f
commit 94cfc20784

View File

@ -108,7 +108,7 @@ from flask import url_for
@app.route("/sitemap.xml")
def sitemap():
host_components = urlparse(request.host_url)
host_base = host_components.scheme + "://" + host_components.netloc + ROOT
host_base = "https://bsnk.me" + ROOT
links = []
for rule in app.url_map.iter_rules():