From 56132c3fbc86d7704724f4aef85035f3992dfe9f Mon Sep 17 00:00:00 2001 From: ddl-ebrown Date: Thu, 4 Apr 2024 12:35:08 -0700 Subject: [PATCH] Fix typo in breadcrumb generation --- .../oss-console/src/components/Breadcrumbs/registry/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/oss-console/src/components/Breadcrumbs/registry/index.ts b/packages/oss-console/src/components/Breadcrumbs/registry/index.ts index 386a3e07c..17357ea90 100644 --- a/packages/oss-console/src/components/Breadcrumbs/registry/index.ts +++ b/packages/oss-console/src/components/Breadcrumbs/registry/index.ts @@ -106,7 +106,7 @@ export class BreadcrumbRegistry { static makeUrlSegments(location: Location, projectId = '', domainId = '') { const pathName = location.pathname; - const basePath = process.env.BASE_PATH || '/console'; + const basePath = process.env.BASE_URL || '/console'; // Remove first occurence of base path const pathNameWithoutBasePath = pathName.replace(basePath, '');