mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
Related to #3261 Add proxy support to `downloadImage` function in `openidStrategy.js` * Import `HttpsProxyAgent` from `https-proxy-agent`. * Add `agent` property to the fetch options in `downloadImage` function if `process.env.PROXY` is set. * Update the `fetch` call in `downloadImage` function to use the proxy agent if available. |
||
|---|---|---|
| .. | ||
| app | ||
| cache | ||
| config | ||
| lib | ||
| models | ||
| server | ||
| strategies | ||
| test | ||
| utils | ||
| jest.config.js | ||
| jsconfig.json | ||
| package.json | ||
| typedefs.js | ||