Skip to content

Commit

Permalink
fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Apr 16, 2024
1 parent 717e2c0 commit 6c9b72a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/services/Link.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const adaptToSiteUrlRegex = /^https?:\/\/([^/.]+--adaptto-website--adaptto.(hlx|aem).(page|live)|adapt.to|localhost:\d+)(\/.+)$/;
const adaptToSiteUrlPathnameGroup = 3;
const adaptToSiteUrlPathnameGroup = 4;
const downloadUrlRegex = /^.+\.(pdf|zip)$/;

/**
Expand Down

0 comments on commit 6c9b72a

Please sign in to comment.