mirror of
https://gitea.tendokyu.moe/eamuse/docs.git
synced 2024-11-14 10:27:36 +01:00
Better sitemap root
This commit is contained in:
parent
92a8a4301f
commit
94cfc20784
2
docs.py
2
docs.py
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user