Skip to content
This repository was archived by the owner on Dec 18, 2022. It is now read-only.

Commit aa28fa5

Browse files
committed
update http and socks port to use auto
1 parent bc27b53 commit aa28fa5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sampleapp/src/main/java/io/matthewnelson/sampleapp/MyTorSettings.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class MyTorSettings: TorSettings() {
9393
get() = DEFAULT__EXIT_NODES
9494

9595
override val httpTunnelPort: String
96-
get() = DEFAULT__HTTP_TUNNEL_PORT
96+
get() = "auto"
9797

9898
override val listOfSupportedBridges: List<@SupportedBridges String>
9999
get() = arrayListOf(SupportedBridges.MEEK, SupportedBridges.OBFS4)
@@ -129,7 +129,7 @@ class MyTorSettings: TorSettings() {
129129
get() = null
130130

131131
override val socksPort: String
132-
get() = "9051"
132+
get() = "auto"
133133

134134
override val virtualAddressNetwork: String?
135135
get() = "10.192.0.2/10"

0 commit comments

Comments
 (0)