From 88e36fb51b3b0b5de5835000a9315a314010b474 Mon Sep 17 00:00:00 2001 From: Andrew Jiang Date: Fri, 15 Nov 2024 14:58:04 -0500 Subject: [PATCH] fix: basepath issue --- packages/ui/app/src/api-reference/endpoints/EndpointUrl.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/app/src/api-reference/endpoints/EndpointUrl.tsx b/packages/ui/app/src/api-reference/endpoints/EndpointUrl.tsx index 0e78659d91..ca26289e72 100644 --- a/packages/ui/app/src/api-reference/endpoints/EndpointUrl.tsx +++ b/packages/ui/app/src/api-reference/endpoints/EndpointUrl.tsx @@ -125,7 +125,7 @@ export const EndpointUrl = React.forwardRef )} - {!showEnvironment && environmentBasepath && ( + {!showEnvironment && environmentBasepath && environmentBasepath !== "/" && ( {environmentBasepath} )} {pathParts}