Skip to content

Commit d8dad3b

Browse files
vNovskiFrancescoMolinaro
authored andcommitted
[CST-13263] added commit to baseUrl
1 parent d9fd3d9 commit d8dad3b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/app/core/services/internal-link.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export class InternalLinkService {
3939
* @returns The relative path for the given internal link.
4040
*/
4141
public getRelativePath(link: string): string {
42+
// Obtaining the base URL, disregarding query parameters
4243
const baseUrl = link.split('?')[0];
4344
const currentDomain = new URL(this.currentURL).hostname;
4445

0 commit comments

Comments
 (0)