From c4ec11260748de6ddea38a5d0f63bb4939114840 Mon Sep 17 00:00:00 2001 From: buenosairesam Date: Fri, 2 Jan 2026 23:45:18 -0300 Subject: [PATCH] Fix trailing slash routes for artery/atlas/station --- soleprint/run.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/soleprint/run.py b/soleprint/run.py index c711890..1ea0cd3 100644 --- a/soleprint/run.py +++ b/soleprint/run.py @@ -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"