add aiohttp proxy
This commit is contained in:
parent
92a5efad0e
commit
b4fcda2c11
@ -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')):
|
if use_proxy and (proxy := os.environ.get('CI_WEB_PROXY')):
|
||||||
config1 = deepcopy(config)
|
config1 = deepcopy(config)
|
||||||
config1['exchange']['ccxt_config'] = {
|
config1['exchange']['ccxt_config'] = {
|
||||||
|
"aiohttp_proxy": proxy,
|
||||||
'proxies': {
|
'proxies': {
|
||||||
'https': proxy,
|
'https': proxy,
|
||||||
'http': proxy,
|
'http': proxy,
|
||||||
|
Loading…
Reference in New Issue
Block a user