Update CDN & Microsoft CDN Hosts
Some checks failed
Build / Build (push) Has been cancelled
Build / Diff output (push) Has been cancelled
Build / Deploy to Cloudflare Pages (3.114.12) (push) Has been cancelled
Build / Deploy to GitHub and GitLab (push) Has been cancelled
Build / Remove Artifacts after Deployment (push) Has been cancelled

This commit is contained in:
SukkaW
2026-01-28 18:36:36 +08:00
parent d475acbffa
commit 0a5a592aba
3 changed files with 5 additions and 2 deletions

View File

@@ -9,6 +9,7 @@ export const RULES = [
export const DOMAINS = [
'res.cdn.office.net',
'res-1.cdn.office.net',
'res-2.cdn.office.net',
'res-h3.public.cdn.office.net',
'statics.teams.cdn.office.net'
];

View File

@@ -177,8 +177,6 @@ export async function $$fetch(url: string, init: RequestInit = defaultRequestIni
}
}
export const fetch = $$fetch;
/** @deprecated -- undici.requests doesn't support gzip/br/deflate, and has difficulty w/ undidi cache */
export async function requestWithLog(url: string, opt?: Parameters<typeof undici.request>[1]) {
try {