Skip to content

Commit

Permalink
Merge pull request #45 from Shahnawaz-Sk/master_v2
Browse files Browse the repository at this point in the history
adding serverdomain flag
  • Loading branch information
Shivanshu-lambdatest authored Jul 25, 2023
2 parents 919389d + ff49aab commit e19481c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
5 changes: 3 additions & 2 deletions lib/cfg/node-tunnel-config-v3-latest.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
},
"AuthUrl": "https://accounts.lambdatest.com/api/user/token/auth",
"logEnable": true,
"latest": "4.0.2",
"latest": "4.0.3",
"supportedVersions":
[
"1.0.0",
Expand Down Expand Up @@ -115,6 +115,7 @@
"3.0.14",
"4.0.0",
"4.0.1",
"4.0.2"
"4.0.2",
"4.0.3"
]
}
7 changes: 7 additions & 0 deletions lib/tunnel.js
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,13 @@ function addArguments_(self, fnCallback) {
binaryArgs.push(value);
}
break;

case 'serverdomain':
if (value) {
binaryArgs.push('--server-domain');
binaryArgs.push(value);
}
break;
}
}
if (binaryArgs.indexOf('--controller') === -1) {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lambdatest/node-tunnel",
"version": "4.0.2",
"version": "4.0.3",
"description": "Nodejs bindings for LambdaTest Tunnel",
"main": "index.js",
"files": [
Expand Down

0 comments on commit e19481c

Please sign in to comment.