Skip to content

Commit

Permalink
feat: set allowH2 to true and require Node.js >= 18
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Sep 22, 2024
1 parent c1de249 commit 8cd68bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/config.default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ export default (appInfo: EggAppConfig) => {

config.httpclient = {
useHttpClientNext: true,
allowH2: true,
};

config.view = {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,6 @@
},
"homepage": "https://github.com/cnpm/npmcore#readme",
"engines": {
"node": ">= 16.13.0"
"node": ">= 18.20.0"
}
}

0 comments on commit 8cd68bd

Please sign in to comment.