mirror of
https://github.com/usebruno/bruno.git
synced 2024-12-23 07:09:01 +01:00
fix: fix proxy setting issue
This commit is contained in:
parent
a1d54eacf6
commit
e9a8763ca0
@ -121,7 +121,7 @@ const configureRequest = async (collectionUid, request, envVars, collectionVaria
|
|||||||
|
|
||||||
// proxy configuration
|
// proxy configuration
|
||||||
let proxyConfig = get(brunoConfig, 'proxy', {});
|
let proxyConfig = get(brunoConfig, 'proxy', {});
|
||||||
let proxyEnabled = get(proxyConfig, 'enabled', 'disabled');
|
let proxyEnabled = get(proxyConfig, 'use', false);
|
||||||
if (proxyEnabled === 'global') {
|
if (proxyEnabled === 'global') {
|
||||||
proxyConfig = preferencesUtil.getGlobalProxyConfig();
|
proxyConfig = preferencesUtil.getGlobalProxyConfig();
|
||||||
proxyEnabled = get(proxyConfig, 'enabled', false);
|
proxyEnabled = get(proxyConfig, 'enabled', false);
|
||||||
|
Loading…
Reference in New Issue
Block a user