Skip to content

Commit

Permalink
Fix error message about preconnect πŸ“ (#40360)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjaiyan-dev committed May 7, 2023
1 parent 9028a16 commit 173381a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions errors/google-font-preconnect.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Google Font Preconnect

> Next.js automatically adds `<link rel="preconnect" />` after version `12.0.1`.
> Ensure `preconnect` is used with Google Fonts.
### Why This Error Occurred
Expand All @@ -20,3 +22,4 @@ Note: a **separate** link with `dns-prefetch` can be used as a fallback for brow

- [Preconnect to required origins](https://web.dev/uses-rel-preconnect/)
- [Preconnect and dns-prefetch](https://web.dev/preconnect-and-dns-prefetch/#resolve-domain-name-early-with-reldns-prefetch)
- [Next.js Font Optimization](https://nextjs.org/docs/pages/building-your-application/optimizing/fonts)

0 comments on commit 173381a

Please sign in to comment.