mirror of
https://github.com/SukkaW/Surge.git
synced 2026-03-15 07:26:42 +08:00
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
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:
@@ -9,6 +9,7 @@ export const RULES = [
|
|||||||
export const DOMAINS = [
|
export const DOMAINS = [
|
||||||
'res.cdn.office.net',
|
'res.cdn.office.net',
|
||||||
'res-1.cdn.office.net',
|
'res-1.cdn.office.net',
|
||||||
|
'res-2.cdn.office.net',
|
||||||
'res-h3.public.cdn.office.net',
|
'res-h3.public.cdn.office.net',
|
||||||
'statics.teams.cdn.office.net'
|
'statics.teams.cdn.office.net'
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -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 */
|
/** @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]) {
|
export async function requestWithLog(url: string, opt?: Parameters<typeof undici.request>[1]) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -222,6 +222,8 @@ ps.w.org
|
|||||||
# all url shortener & cdn, only get.wp.com is a normal site
|
# all url shortener & cdn, only get.wp.com is a normal site
|
||||||
# i0.wp.com/[domain]/path/to/img
|
# i0.wp.com/[domain]/path/to/img
|
||||||
# s0.wp.com/mshots/v1/[encoded url]?w=640
|
# s0.wp.com/mshots/v1/[encoded url]?w=640
|
||||||
|
# fonts-api.wp.com
|
||||||
|
# fonts.wp.com
|
||||||
.wp.com
|
.wp.com
|
||||||
# jetback assets cdn
|
# jetback assets cdn
|
||||||
# quote: The Asset CDN serves a limited set of static files only from WordPress core, Jetpack, and WooCommerce via our global network of servers. This reduces the load on your server for these specific assets.
|
# quote: The Asset CDN serves a limited set of static files only from WordPress core, Jetpack, and WooCommerce via our global network of servers. This reduces the load on your server for these specific assets.
|
||||||
@@ -525,6 +527,8 @@ attachments.office.net
|
|||||||
cdn.prod.ext.web.purview.azure.com
|
cdn.prod.ext.web.purview.azure.com
|
||||||
# res.cdn.office.net # china mainland cdn
|
# res.cdn.office.net # china mainland cdn
|
||||||
# res-1.cdn.office.net # china mainland cdn
|
# res-1.cdn.office.net # china mainland cdn
|
||||||
|
# res-2.cdn.office.net # china mainland cdn
|
||||||
|
res-3.cdn.office.net
|
||||||
res-geo.cdn.office.net
|
res-geo.cdn.office.net
|
||||||
# statics.teams.cdn.office.net # china mainland cdn
|
# statics.teams.cdn.office.net # china mainland cdn
|
||||||
static2.sharepointonline.com
|
static2.sharepointonline.com
|
||||||
|
|||||||
Reference in New Issue
Block a user