Chore: download dist from GitLab if GitHub dist repo is down

This commit is contained in:
SukkaW
2024-09-04 22:18:19 +08:00
parent affaa13890
commit 554afd0fd9
3 changed files with 71 additions and 50 deletions

View File

@@ -124,7 +124,7 @@ function createFetchRetry($fetch: typeof fetch): FetchWithRetry {
export const defaultRequestInit: RequestInit = {
headers: {
'User-Agent': 'curl/8.9.0 (https://github.com/SukkaW/Surge)'
'User-Agent': 'curl/8.9.1 (https://github.com/SukkaW/Surge)'
}
};