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"