-
-
Notifications
You must be signed in to change notification settings - Fork 780
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
Feature request: enable providers to resolve to custom urls #2237
Comments
We have this field in the unocss/packages/preset-web-fonts/src/index.ts Lines 53 to 54 in 0e5434f
|
I don't think so. Isn't I want to change the value of what |
antfu
added a commit
that referenced
this issue
Apr 23, 2023
Now the |
This was referenced Nov 11, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Clear and concise description of the problem
I can't use a 3rd party font provider in production due to CSP + security issues. I'd like to be able to specify the location of the fonts I'm using.
Suggested solution
We could add a
provider
function on each font so that you could load custom fonts from certain places (CDN, s3, wherever) and use Google or the primary provider as a fallback.Alternative
No response
Additional context
No response
Validations
README.md
of using the package.The text was updated successfully, but these errors were encountered: