Skip to content

Commit

Permalink
Revert "feat: set allowH2 to true and require Node.js >= 18 (#705)" (#…
Browse files Browse the repository at this point in the history
…707)

This reverts commit 9a79940.


![image](https:/user-attachments/assets/eeb9ea95-60ec-4bcf-a695-60be303e2f5f)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
	- Updated HTTP client configuration to enhance compatibility.
	- Adjusted minimum Node.js version requirement for broader support.

- **Bug Fixes**
	- Removed HTTP/2 support from the HTTP client configuration.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
fengmk2 authored Sep 25, 2024
1 parent 0a0c4e7 commit 526b66a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion config/config.default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ 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:/cnpm/npmcore#readme",
"engines": {
"node": ">= 18.20.0"
"node": ">= 16.13.0"
}
}

0 comments on commit 526b66a

Please sign in to comment.