Skip to content

Commit

Permalink
Use BASE_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
ddl-rliu committed Apr 4, 2024
1 parent 34edde1 commit 3622218
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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, '');
Expand Down

0 comments on commit 3622218

Please sign in to comment.