ソースを参照

Enable HTTP/2 download again

SukkaW 1 年間 前
コミット
fe7df4a457
1 ファイル変更1 行追加1 行削除
  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 });
 }
 
-const agent = new Agent({ allowH2: false });
+const agent = new Agent({ allowH2: true });
 
 setGlobalDispatcher(agent.compose(
   interceptors.retry({