Remove allowH2 option from global dispatcher

fix/remove-allowH2-undici-node22-compat
This commit is contained in:
DColl
2026-02-12 22:54:20 +01:00
committed by GitHub
parent dab307cb6d
commit f82134c9ad
-1
View File
@@ -15,7 +15,6 @@ if (typeof process !== 'undefined' && process.versions?.node) {
try {
setGlobalDispatcher(
new Agent({
allowH2: true,
connect: { timeout: REQUEST_TIMEOUT_MS },
}),
)