hosting commercial fonts #11899
Unanswered
freeman-lab
asked this question in
Help
Replies: 1 comment 3 replies
-
The default CORS configuration of your application should prevent other sites from accessing the file. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all! Really loving
next.js
. Trying to solve a problem with including commercial fonts on my site. I have the font files (with a license to use on the web) and am successfully usingnext-fonts
to use them on the site. But per the terms of my license, I'm requested to prevent direct access to the font files. Is there any way to protect the contents ofpublic/fonts
this way withnext
, maybe through an appropriate custom CORS configuration? Or should I explore a third-party CDN and whitelist my domain(s)? Any help would be appreciated!Beta Was this translation helpful? Give feedback.
All reactions