mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +08:00
@@ -88,6 +88,8 @@ const REDIRECT_MIRROR_HEADER = [
|
||||
['cdn.bootcdn.net/', 'https://cdnjs.cloudflare.com/ajax/libs/'],
|
||||
['cdn.staticfile.net/', 'https://cdnjs.cloudflare.com/ajax/libs/'],
|
||||
['cdn.staticfile.org/', 'https://cdnjs.cloudflare.com/ajax/libs/'],
|
||||
// The UNPKG has not been actively maintained and is finally down (https://github.com/unpkg/unpkg/issues/412)
|
||||
['unpkg.com/', 'https://cdn.jsdelivr.net/npm/'],
|
||||
// Misc
|
||||
['pics.javbus.com/', 'https://i0.wp.com/pics.javbus.com/']
|
||||
] as const;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export const DEBUG_DOMAIN_TO_FIND: string | null = 'links.strava.com'; // example.com | null
|
||||
export const DEBUG_DOMAIN_TO_FIND: string | null = null; // example.com | null
|
||||
|
||||
type HostsSource = [main: string, mirrors: string[] | null, includeAllSubDomain: boolean];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user