Skip to content

Commit

Permalink
Revert "fix(feature-details): fix depot url regex (#1690)"
Browse files Browse the repository at this point in the history
This reverts commit 652a1cf77336a00a27d7f2e67108043586e5042a.

(cherry picked from commit 060c93a2c0e4ebdcf8cbebbd1ebc0879c8d2d730)
  • Loading branch information
alecarn committed Oct 22, 2024
1 parent 50f065a commit fbc81c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export class FeatureDetailsComponent implements OnInit, OnDestroy {
openSecureUrl(value) {
let url: string;
const regexDepot = new RegExp(
this.configService?.getConfig('depot.url') + '.*?(?=\\s|$)'
this.configService?.getConfig('depot.url') + '.*?(?="|$)'
);

if (regexDepot.test(value)) {
Expand Down

0 comments on commit fbc81c7

Please sign in to comment.