mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Perf: make microsoft cdn in the dedicated thread
This commit is contained in:
14
Build/constants/microsoft-cdn.ts
Normal file
14
Build/constants/microsoft-cdn.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
export const PROBE_DOMAINS = ['.microsoft.com', '.windows.net', '.windows.com', '.windowsupdate.com', '.windowssearch.com', '.office.net'];
|
||||
|
||||
export const DOMAINS = [
|
||||
'res.cdn.office.net',
|
||||
'res-1.cdn.office.net',
|
||||
'statics.teams.cdn.office.net'
|
||||
];
|
||||
|
||||
export const DOMAIN_SUFFIXES = ['download.prss.microsoft.com'];
|
||||
|
||||
export const BLACKLIST = [
|
||||
'www.microsoft.com',
|
||||
'windowsupdate.com'
|
||||
];
|
||||
Reference in New Issue
Block a user