mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-14 02:00:37 +08:00
Update CDN Hosts
This commit is contained in:
parent
c1234df35b
commit
45f5615318
@ -94,11 +94,12 @@ export const createSpan = (name: string, parentTraceResult?: TraceResult): Span
|
|||||||
return span;
|
return span;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const dummySpan = createSpan('');
|
||||||
|
|
||||||
export const task = (importMetaMain: boolean, importMetaPath: string) => <T>(fn: (span: Span) => Promise<T>, customName?: string) => {
|
export const task = (importMetaMain: boolean, importMetaPath: string) => <T>(fn: (span: Span) => Promise<T>, customName?: string) => {
|
||||||
const taskName = customName ?? basename(importMetaPath, extname(importMetaPath));
|
const taskName = customName ?? basename(importMetaPath, extname(importMetaPath));
|
||||||
|
|
||||||
const dummySpan = createSpan(taskName);
|
const dummySpan = createSpan(taskName);
|
||||||
|
|
||||||
if (importMetaMain) {
|
if (importMetaMain) {
|
||||||
fn(dummySpan);
|
fn(dummySpan);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -372,6 +372,9 @@ connectivitycheck.android.com
|
|||||||
connectivitycheck.gstatic.com
|
connectivitycheck.gstatic.com
|
||||||
# SXG Cache Layer
|
# SXG Cache Layer
|
||||||
.webpkgcache.com
|
.webpkgcache.com
|
||||||
|
# Chrome Content Optimization Service
|
||||||
|
# See https://go.dev/solutions/google/chrome
|
||||||
|
optimizationguide-pa.googleapis.com
|
||||||
|
|
||||||
# >> Apple CDN
|
# >> Apple CDN
|
||||||
# Apple Live
|
# Apple Live
|
||||||
@ -788,6 +791,8 @@ i.1password.com
|
|||||||
c.1password.com
|
c.1password.com
|
||||||
static.agilebits.com
|
static.agilebits.com
|
||||||
.v-cdn.net
|
.v-cdn.net
|
||||||
|
# won't block 1password telemetry, but it definitely could use CDN policy
|
||||||
|
telemetry.1passwordservices.com
|
||||||
|
|
||||||
# >> Huggingface
|
# >> Huggingface
|
||||||
.cdn-uploads.huggingface.co
|
.cdn-uploads.huggingface.co
|
||||||
@ -2771,3 +2776,4 @@ images.bfmtv.com
|
|||||||
assets.context.ly
|
assets.context.ly
|
||||||
.kirafile.com
|
.kirafile.com
|
||||||
cms-assets.nodecraft.com
|
cms-assets.nodecraft.com
|
||||||
|
cdn.kinopio.club
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user