We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 387366b commit a24c4d3Copy full SHA for a24c4d3
packages/oss-console/src/components/Breadcrumbs/registry/index.ts
@@ -106,7 +106,7 @@ export class BreadcrumbRegistry {
106
107
static makeUrlSegments(location: Location, projectId = '', domainId = '') {
108
const pathName = location.pathname;
109
- const basePath = process.env.BASE_PATH || '/console';
+ const basePath = process.env.BASE_URL || '/console';
110
111
// Remove first occurence of base path
112
const pathNameWithoutBasePath = pathName.replace(basePath, '');
0 commit comments