add aiohttp proxy

This commit is contained in:
Matthias 2023-01-16 22:37:21 +01:00
parent 92a5efad0e
commit b4fcda2c11

View File

@ -115,6 +115,7 @@ def set_test_proxy(config: Config, use_proxy: bool) -> Config:
if use_proxy and (proxy := os.environ.get('CI_WEB_PROXY')):
config1 = deepcopy(config)
config1['exchange']['ccxt_config'] = {
"aiohttp_proxy": proxy,
'proxies': {
'https': proxy,
'http': proxy,