Chore: disable HTTP/2 again

This commit is contained in:
SukkaW 2025-11-20 02:00:37 +08:00
parent e3512c936e
commit d7f9961062

View File

@ -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 });
(agent.compose( (agent.compose(
interceptors.dns({ interceptors.dns({