mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-13 09:40:34 +08:00
parent
9659ff2a95
commit
163434b344
@ -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];
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user