fix: broaden updater allowed hosts to all GitHub domains
Build and Release / build-and-release (push) Has been cancelled

This commit is contained in:
2026-04-04 09:03:20 -07:00
parent c96c151851
commit 19af04468e
+1 -1
View File
@@ -15,7 +15,7 @@ export type ProgressCallback = (percent: number) => void;
const UPDATE_CONFIG = {
checkUrl: 'https://api.github.com/repos/bigjakk/Krunker-Civilian-Client/releases/latest',
assetPattern: /Setup\.exe$/i,
allowedHosts: ['github.com', 'api.github.com', 'objects.githubusercontent.com', 'release-assets.githubusercontent.com'],
allowedHosts: ['github.com', 'githubusercontent.com'],
};
const CHECK_TIMEOUT_MS = 10000;