We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55895d1 commit 9ca45dbCopy full SHA for 9ca45db
1 file changed
src/app/core/services/internal-link.service.ts
@@ -49,7 +49,7 @@ export class InternalLinkService {
49
return currentSegments.startsWith('/') ? currentSegments : `/${currentSegments}`;
50
}
51
52
- return baseUrl.startsWith('/') || (baseUrl.startsWith('http') && !baseUrl.startsWith(this.currentURL)) ? baseUrl : `/${baseUrl}`;
+ return baseUrl.startsWith('/') ? baseUrl : `/${baseUrl}`;
53
54
55
/**
0 commit comments