Skip to content

Commit

Permalink
MWPW-161920: Fix fragment reference check (#3641)
Browse files Browse the repository at this point in the history
  • Loading branch information
sukamat authored Feb 7, 2025
1 parent 6b7943b commit 963ffb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/floodbox/references.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class References {
this.htmlPaths = htmlPaths;

// eslint-disable-next-line no-useless-escape
this.referencePattern = new RegExp(`https?:\/\/[^/]*--${repo}--${org}\\.[^/]*(?:page|live)(\/(?:fragments\/.*|.*\\.(?:pdf|svg|json)))`);
this.referencePattern = new RegExp(`https?:\/\/[^/]*--${repo}--${org}\\.[^/]*(?:page|live)(\/.*(?:fragments\/|\\.(?:pdf|svg|json))[^?]*)`);
this.requestHandler = new RequestHandler(accessToken);
}

Expand Down

0 comments on commit 963ffb4

Please sign in to comment.