diff --git a/src/main/updater.ts b/src/main/updater.ts index 275bb1bf..b8a6268f 100644 --- a/src/main/updater.ts +++ b/src/main/updater.ts @@ -27,7 +27,7 @@ const httpRequest = (Provider.prototype as any).httpRequest console.log('updater httpRequest', url.href) if (url.pathname.endsWith('.atom')) { - url.host = 'github.com.cnpmjs.org' + url.host = 'hub.fastgit.org' headers.accept = '*/*' headers['user-agent'] = 'curl/7.77.0' url.pathname = url.pathname.replace('/https://github.com', '')