Skip to content

Commit 0ff159e

Browse files
authored
Merge pull request #114 from wecode-ai/fix_proxy_pac
fix bug of get ide proxy config
2 parents 194f48d + 4288e43 commit 0ff159e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jetbrains_plugin/src/main/kotlin/com/sina/weibo/agent/util/ProxyConfigUtil.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ object ProxyConfigUtil {
6161
val proxyConfig = HttpConfigurable.getInstance()
6262

6363
// Check PAC proxy
64-
if (proxyConfig.USE_PAC_URL) {
64+
if (proxyConfig.USE_PROXY_PAC) {
6565
val pacUrl = proxyConfig.PAC_URL
6666
if (!pacUrl.isNullOrEmpty()) {
6767
return ProxyConfig(null, null, pacUrl, "ide-pac")

0 commit comments

Comments
 (0)