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. |
||
|---|---|---|
| .. | ||
| discordStrategy.js | ||
| facebookStrategy.js | ||
| githubStrategy.js | ||
| googleStrategy.js | ||
| index.js | ||
| jwtStrategy.js | ||
| ldapStrategy.js | ||
| localStrategy.js | ||
| openidStrategy.js | ||
| process.js | ||
| socialLogin.js | ||
| validators.js | ||
| validators.spec.js | ||