From: Don Armstrong Date: Tue, 19 Mar 2024 03:36:18 +0000 (-0700) Subject: redirect with trailing slash X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1f4547a74c0baf40d601d453e0c29a4c24d8da94;p=ptouch_web.git redirect with trailing slash --- diff --git a/src/ptouch_web/api.py b/src/ptouch_web/api.py index 8b56a6a..15aaf62 100644 --- a/src/ptouch_web/api.py +++ b/src/ptouch_web/api.py @@ -104,7 +104,7 @@ label_queue = dict() @app.get("/") async def redirect_dash(): "Redirect to the web application" - return RedirectResponse("/app") + return RedirectResponse("/app/") @app.get("/v1/queue", response_model=list[Union[QueueText, QueueImage]])