Browse Source

Disable HTTP/2

SukkaW 10 months ago
parent
commit
6be59140bd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Build/lib/fetch-retry.ts

+ 1 - 1
Build/lib/fetch-retry.ts

@@ -23,7 +23,7 @@ if (!fs.existsSync(CACHE_DIR)) {
   fs.mkdirSync(CACHE_DIR, { recursive: true });
   fs.mkdirSync(CACHE_DIR, { recursive: true });
 }
 }
 
 
-const agent = new Agent({ allowH2: true });
+const agent = new Agent({ allowH2: false });
 
 
 setGlobalDispatcher(agent.compose(
 setGlobalDispatcher(agent.compose(
   interceptors.dns({
   interceptors.dns({