Commit 7327a38
fix: ssl error (#56)
* feat: add httpsAgent configuration to HTTP utility functions
- Introduced an httpsAgent with rejectUnauthorized set to false for all HTTP requests in the createHttpUtil function.
- Updated axios request configurations to include the httpsAgent for enhanced flexibility in handling HTTPS requests.
* fix: remove unused httpsAgent variable and set axios default httpsAgent
- Eliminated the redundant httpsAgent variable from the createHttpUtil function.
- Configured axios to use a default httpsAgent with rejectUnauthorized set to false for all requests, enhancing security handling.
---------
Co-authored-by: sean0824 <sean0824@163.com>1 parent 9716c93 commit 7327a38
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
3 | 8 | | |
4 | 9 | | |
5 | 10 | | |
| |||
0 commit comments