Fix trailing slash routes for artery/atlas/station
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
buenosairesam
2026-01-02 23:45:18 -03:00
parent 283fb68b7c
commit c4ec112607

View File

@@ -80,6 +80,7 @@ def health():
@app.get("/artery", response_class=HTMLResponse)
@app.get("/artery/", response_class=HTMLResponse)
def artery_index(request: Request):
"""Artery landing page."""
html_path = SPR_ROOT / "artery" / "index.html"
@@ -144,6 +145,7 @@ def artery_route(path: str):
@app.get("/atlas", response_class=HTMLResponse)
@app.get("/atlas/", response_class=HTMLResponse)
def atlas_index(request: Request):
"""Atlas landing page."""
html_path = SPR_ROOT / "atlas" / "index.html"
@@ -184,6 +186,7 @@ def atlas_route(path: str):
@app.get("/station", response_class=HTMLResponse)
@app.get("/station/", response_class=HTMLResponse)
def station_index(request: Request):
"""Station landing page."""
html_path = SPR_ROOT / "station" / "index.html"