diff --git a/config/config.default.ts b/config/config.default.ts index efe42803..3be98f23 100644 --- a/config/config.default.ts +++ b/config/config.default.ts @@ -186,6 +186,7 @@ export default (appInfo: EggAppConfig) => { config.httpclient = { useHttpClientNext: true, + allowH2: true, }; config.view = { diff --git a/package.json b/package.json index 01e3d6b8..10e0f3cf 100644 --- a/package.json +++ b/package.json @@ -145,6 +145,6 @@ }, "homepage": "https://github.com/cnpm/npmcore#readme", "engines": { - "node": ">= 16.13.0" + "node": ">= 18.20.0" } }