Skip to content

Commit 13acd0f

Browse files
committed
fix: serve healthz without trailing slash
1 parent 12f2973 commit 13acd0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stac_auth_proxy/handlers/healthz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class HealthzHandler:
1616
def __post_init__(self):
1717
"""Initialize the router."""
1818
self.router = APIRouter()
19-
self.router.add_api_route("/", self.healthz, methods=["GET"])
19+
self.router.add_api_route("", self.healthz, methods=["GET"])
2020
self.router.add_api_route("/upstream", self.healthz_upstream, methods=["GET"])
2121

2222
async def healthz(self):

0 commit comments

Comments
 (0)