File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
app/src/main/java/io/nekohasekai/sfa/bg Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import android.os.IBinder
99import io.nekohasekai.libbox.TunOptions
1010import io.nekohasekai.sfa.database.Settings
1111import io.nekohasekai.sfa.ktx.toIpPrefix
12+ import io.nekohasekai.sfa.ktx.toList
1213import kotlinx.coroutines.Dispatchers
1314import kotlinx.coroutines.runBlocking
1415import kotlinx.coroutines.withContext
@@ -169,7 +170,9 @@ class VPNService : VpnService(), PlatformInterfaceWrapper {
169170 systemProxyEnabled = Settings .systemProxyEnabled
170171 if (systemProxyEnabled) builder.setHttpProxy(
171172 ProxyInfo .buildDirectProxy(
172- options.httpProxyServer, options.httpProxyServerPort
173+ options.httpProxyServer,
174+ options.httpProxyServerPort,
175+ options.httpProxyBypassDomain.toList()
173176 )
174177 )
175178 } else {
You can’t perform that action at this time.
0 commit comments