Skip bypass domains for proxy configured with PAC
This commit is contained in:
parent
5874ce4b9d
commit
ad38ca5942
|
@ -242,7 +242,7 @@ extension NetworkSettingsView {
|
|||
}
|
||||
}
|
||||
}
|
||||
if !settings.isAutomaticProxy && settings.proxy.configurationType != .disabled {
|
||||
if !settings.isAutomaticProxy && settings.proxy.configurationType == .manual {
|
||||
proxyManualBypassDomains
|
||||
}
|
||||
}
|
||||
|
|
|
@ -122,10 +122,10 @@ extension Network {
|
|||
|
||||
public var proxyPort: UInt16?
|
||||
|
||||
public var proxyAutoConfigurationURL: URL?
|
||||
|
||||
public var proxyBypassDomains: [String] = []
|
||||
|
||||
public var proxyAutoConfigurationURL: URL?
|
||||
|
||||
public var proxyServer: Proxy? {
|
||||
guard let address = proxyAddress, let port = proxyPort, !address.isEmpty, port > 0 else {
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue