mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 17:01:00 +03:00
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:
@@ -22,6 +22,7 @@ import flowiseApiV1Router from './routes'
|
||||
import errorHandlerMiddleware from './middlewares/errors'
|
||||
import { SSEStreamer } from './utils/SSEStreamer'
|
||||
import { validateAPIKey } from './utils/validateKey'
|
||||
import 'global-agent/bootstrap'
|
||||
|
||||
declare global {
|
||||
namespace Express {
|
||||
|
||||
Reference in New Issue
Block a user