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
merged 5 commits into from Dec 19, 2022
Merged

Conversation

MinatoHikari
Copy link
Contributor

@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.

@netlify
Copy link

netlify bot commented Dec 15, 2022

Deploy Preview for unocss ready!

Name Link
🔨 Latest commit 9bc5fa4
🔍 Latest deploy log https://app.netlify.com/sites/unocss/deploys/63a067121b8d3b00084aa581
😎 Deploy Preview https://deploy-preview-2000--unocss.netlify.app
📱 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/README.md Outdated Show resolved Hide resolved
packages/preset-web-fonts/README.md 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/README.md

Co-authored-by: 洪布斯 <q951686662@qq.com>

* chore: update

* chore: rename to `customFetch`

Co-authored-by: Frozen FIsh <76603360+sudongyuer@users.noreply.github.com>
Co-authored-by: 洪布斯 <q951686662@qq.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
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

4 participants