From c79d04292f965d273e79cec8a496c4a7857345a3 Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Wed, 25 Sep 2024 18:24:41 +0800 Subject: [PATCH] Revert "feat: set allowH2 to true and require Node.js >= 18 (#705)" This reverts commit 9a7994090b18df0847eb7552ceff273eab80dea9. --- config/config.default.ts | 1 - package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/config/config.default.ts b/config/config.default.ts index 3be98f23..efe42803 100644 --- a/config/config.default.ts +++ b/config/config.default.ts @@ -186,7 +186,6 @@ export default (appInfo: EggAppConfig) => { config.httpclient = { useHttpClientNext: true, - allowH2: true, }; config.view = { diff --git a/package.json b/package.json index b2f39a50..399b0176 100644 --- a/package.json +++ b/package.json @@ -145,6 +145,6 @@ }, "homepage": "https://github.com/cnpm/npmcore#readme", "engines": { - "node": ">= 18.20.0" + "node": ">= 16.13.0" } }