diff --git a/src/utils/resource.ts b/src/utils/resource.ts index 3faaa0f..bae2840 100644 --- a/src/utils/resource.ts +++ b/src/utils/resource.ts @@ -155,7 +155,7 @@ export class Resource { } export function isLocal(src: string) { - if (src.startsWith('/')) return false; + if (src.startsWith('/cdn_cgi/')) return false; const u = url.parse(src); return !u.host; }