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

feat(preset-web-fonts): add customFetch option #2000

merged 5 commits into from Dec 19, 2022


Copy link

@MinatoHikari MinatoHikari commented Dec 15, 2022

Fucked by GFW because of default provider google.
So add an option to custom request to fetch web font source to enable something like proxy agent.

Copy link

netlify bot commented Dec 15, 2022

Deploy Preview for unocss ready!

Name Link
🔨 Latest commit 9bc5fa4
🔍 Latest deploy log
😎 Deploy Preview
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@sudongyuer sudongyuer changed the title feat(preset-web-fonts):add customRequest option feat(preset-web-fonts): add customRequest option Dec 15, 2022
packages/preset-web-fonts/ Outdated Show resolved Hide resolved
packages/preset-web-fonts/ Outdated Show resolved Hide resolved
@antfu antfu changed the title feat(preset-web-fonts): add customRequest option feat(preset-web-fonts): add customFetch option Dec 19, 2022
@antfu antfu merged commit dad2e0f into unocss:main Dec 19, 2022
praburangki pushed a commit to praburangki/unocss that referenced this pull request Jan 12, 2023
* feat(preset-web-fonts):add customRequest option

* chore: update

* Update packages/preset-web-fonts/

Co-authored-by: 洪布斯 <>

* chore: update

* chore: rename to `customFetch`

Co-authored-by: Frozen FIsh <>
Co-authored-by: 洪布斯 <>
Co-authored-by: Anthony Fu <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

4 participants