fix: fix proxy setting issue

This commit is contained in:
Anoop M D 2023-10-20 00:07:25 +05:30
parent a1d54eacf6
commit e9a8763ca0

View File

@ -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);