Skip to content

Commit

Permalink
fix: 切换cdn地址
Browse files Browse the repository at this point in the history
  • Loading branch information
ZvonimirSun committed Jan 6, 2025
1 parent 39e0ae8 commit 3ece3ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uno.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default defineConfig({
presetWebFonts({
provider: 'google',
customFetch(url) {
url = url.replace('fonts.googleapis.com', `${config.cdnHost}/jsd`)
url = url.replace('fonts.googleapis.com', `${config.cdnHost}/fonts`)
return axios.get(url).then(res => res.data)
},
fonts: {
Expand Down

0 comments on commit 3ece3ea

Please sign in to comment.