Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not preload unused variants in a self-hosting scenario #102

Merged
merged 1 commit into from Jul 5, 2020

Conversation

papandreou
Copy link
Collaborator

I noticed that we were injecting <link rel="preload" href=...> for the unused variants of a font when the fonts are self-hosted. Seems like we only fixed it for Google Web Fonts.

@papandreou papandreou self-assigned this Jul 5, 2020
@coveralls
Copy link

coveralls commented Jul 5, 2020

Pull Request Test Coverage Report for Build 362

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.2%) to 89.508%

Files with Coverage Reduction New Missed Lines %
lib/HeadlessBrowser.js 2 91.43%
Totals Coverage Status
Change from base Build 357: -0.2%
Covered Lines: 1014
Relevant Lines: 1085

💛 - Coveralls

@papandreou papandreou requested a review from Munter July 5, 2020 15:57
@Munter Munter merged commit d3944a3 into master Jul 5, 2020
@Munter Munter deleted the fix/noPreloadUnusedVariants branch July 5, 2020 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants