saucelabs
Advanced tools
Comparing version 2.1.7 to 2.1.8
@@ -64,3 +64,5 @@ "use strict"; | ||
subdomain = hostname.split('.')[0] + '.'; | ||
hostname = hostname.split('.').slice(-2).join('.'); | ||
hostname = hostname.split('.').slice(-2).join('.'); // RDC only has 1 endpoint for both DC's, so if the url contains `testobject` clear the `locale` | ||
locale = hostname.includes('testobject') ? '' : locale; | ||
} else if (!headless && region === 'us') { | ||
@@ -67,0 +69,0 @@ locale = ''; |
{ | ||
"name": "saucelabs", | ||
"version": "2.1.7", | ||
"version": "2.1.8", | ||
"author": "Christian Bromann <christian@saucelabs.com>", | ||
@@ -5,0 +5,0 @@ "description": "A wrapper around Sauce Labs REST API", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
216120
22
6439