Support global-agent for central proxy configuration (#3423)

* * Added global-agent as central Global HTTP/HTTPS proxy configurable using environment variable
**  https://www.npmjs.com/package/global-agent
* Server-Bootstrap on index.js
** import 'global-agent/bootstrap'
* added dep in package.json
** global-agent: "^3.0.0

* * Added global-agent as central Global HTTP/HTTPS proxy configurable using environment variable
**  Added env variables

* update env example

* update env and lock file

* update env and lock file

---------

Co-authored-by: Henry <hzj94@hotmail.com>
This commit is contained in:
akoo24
2024-11-01 19:05:04 +01:00
committed by GitHub
parent 598f9a6fa0
commit d9bf612448
5 changed files with 83 additions and 2 deletions
+2 -1
View File
@@ -85,7 +85,8 @@
"sqlite3": "^5.1.6",
"typeorm": "^0.3.6",
"uuid": "^9.0.1",
"winston": "^3.9.0"
"winston": "^3.9.0",
"global-agent": "^3.0.0"
},
"devDependencies": {
"@types/content-disposition": "0.5.8",