From 6be59140bde794cfc00a75eb22833a68a0e53b04 Mon Sep 17 00:00:00 2001 From: SukkaW Date: Tue, 20 May 2025 23:26:13 +0800 Subject: [PATCH] Disable HTTP/2 --- Build/lib/fetch-retry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/lib/fetch-retry.ts b/Build/lib/fetch-retry.ts index 6076fcb1..c8e570e4 100644 --- a/Build/lib/fetch-retry.ts +++ b/Build/lib/fetch-retry.ts @@ -23,7 +23,7 @@ if (!fs.existsSync(CACHE_DIR)) { fs.mkdirSync(CACHE_DIR, { recursive: true }); } -const agent = new Agent({ allowH2: true }); +const agent = new Agent({ allowH2: false }); setGlobalDispatcher(agent.compose( interceptors.dns({