Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #14600 from brave/riastradh-tor-channelsocksport
Browse files Browse the repository at this point in the history
Use a different socks port number for channel ''.
  • Loading branch information
bsclifton committed Jun 28, 2018
2 parents 79839db + e948fa3 commit faff16a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/channel.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ exports.getTorSocksProxy = () => {
let portno
switch (channel) {
case 'dev':
case '':
default:
portno = 9250
break
Expand All @@ -80,6 +79,9 @@ exports.getTorSocksProxy = () => {
case 'developer':
portno = 9280
break
case '':
portno = 9290
break
}
return `socks5://127.0.0.1:${portno}`
}

0 comments on commit faff16a

Please sign in to comment.