diff --git a/packages/geo/src/lib/feature/feature-details/feature-details.component.ts b/packages/geo/src/lib/feature/feature-details/feature-details.component.ts index a84859a38..099664d82 100644 --- a/packages/geo/src/lib/feature/feature-details/feature-details.component.ts +++ b/packages/geo/src/lib/feature/feature-details/feature-details.component.ts @@ -169,8 +169,8 @@ export class FeatureDetailsComponent implements OnInit, OnDestroy { openSecureUrl(value) { let url: string; - const regexDepot = new RegExp( - this.configService?.getConfig('depot.url') + '.*?(?="|$)' + const regexDepot: RegExp = new RegExp( + this.configService?.getConfig('depot.url') + '.*?(?=\\s|$)' ); if (regexDepot.test(value)) {