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
@@ -165,7 +166,9 @@ class VPNService : VpnService(), PlatformInterfaceWrapper {
165166 systemProxyEnabled = Settings .systemProxyEnabled
166167 if (systemProxyEnabled) builder.setHttpProxy(
167168 ProxyInfo .buildDirectProxy(
168- options.httpProxyServer, options.httpProxyServerPort
169+ options.httpProxyServer,
170+ options.httpProxyServerPort,
171+ options.httpProxyBypassDomain.toList()
169172 )
170173 )
171174 } else {
You can’t perform that action at this time.
0 commit comments