mirror of https://github.com/ghostfolio/ghostfolio
Browse Source
Switch to setGlobalDispatcher(new EnvHttpProxyAgent()) at bootstrap so every service that uses native fetch picks up HTTP_PROXY / HTTPS_PROXY / NO_PROXY without per-call wiring. Reverts the inline ProxyAgent in manual.service.ts because the global dispatcher covers it (and the other 7 services that hit native fetch: coingecko, openfigi, trackinsight, eod-historical-data, financial-modeling-prep, ghostfolio, rapid-api). Also gets NO_PROXY handling for free, which the inline ProxyAgent path did not have. Matches the approach @dtslvr suggested in #6206.pull/6581/head
2 changed files with 8 additions and 15 deletions
Loading…
Reference in new issue