Skip to content

Commit

Permalink
Fix typo causing regexp to not be matched correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Aug 4, 2022
1 parent b98976b commit 0513770
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/subsetFonts.js
Original file line number Diff line number Diff line change
Expand Up @@ -603,13 +603,13 @@ async function subsetFonts(
$or: [
{
to: {
url: googleFontsCssUrlRegex,
url: { $regex: googleFontsCssUrlRegex },
},
},
{
type: 'CssFontFaceSrc',
from: {
url: googleFontsCssUrlRegex,
url: { $regex: googleFontsCssUrlRegex },
},
},
],
Expand Down

0 comments on commit 0513770

Please sign in to comment.