Skip to content

Commit 3bf0313

Browse files
committed
fix: use default 1080 if port is not provided
1 parent f20688c commit 3bf0313

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/js/proxified-containers.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ proxifiedContainers = {
5050
return false;
5151
}
5252

53+
if (!matches.groups.port) {
54+
matches.groups.port = 1080;
55+
}
56+
5357
if (mozillaVpnData && mozillaVpnData.mozProxyEnabled === undefined) {
5458
matches.groups.type = null;
5559
}

0 commit comments

Comments
 (0)