Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

Commit 693a4aa

Browse files
bafoltsbafolts
authored andcommitted
feat: pass forcelocal to tunnel
1 parent 9c77a96 commit 693a4aa

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ module.exports = function(config) {
7171
- `proxyUser` the username used for authentication with your proxy (optional)
7272
- `proxyPass` the password used for authentication with your proxy (optional)
7373
- `proxyProtocol` the protocol of your proxy (optional. default: `http`. valid: `http` or `https`)
74+
- `forcelocal` force traffic through the local BrowserStack tunnel, passes flag through to BrowserStackTunnel
7475

7576
### Per browser options
7677

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ var createBrowserStackTunnel = function (logger, config, emitter) {
2121
proxyHost: bsConfig.proxyHost || null,
2222
proxyPort: bsConfig.proxyPort || null,
2323
proxyUser: bsConfig.proxyUser || null,
24-
proxyPass: bsConfig.proxyPass || null
24+
proxyPass: bsConfig.proxyPass || null,
25+
forcelocal: bsConfig.forcelocal || null
2526
}
2627

2728
if (bsConfig.startTunnel === false) {

0 commit comments

Comments
 (0)