Skip to content

Commit 4b1a326

Browse files
committed
fix: ignore font fetches
1 parent 23c778a commit 4b1a326

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/runtime/server/cache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ export default defineNitroPlugin(nitroApp => {
714714
const urlStr =
715715
typeof input === 'string' ? input : input instanceof URL ? input.toString() : input.url
716716

717-
if (urlStr.startsWith('/')) {
717+
if (urlStr.startsWith('/') || urlStr.includes('woff')) {
718718
return await originalFetch(input, init)
719719
}
720720

0 commit comments

Comments
 (0)