Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
Using SAUCE_API_HOST again
Browse files Browse the repository at this point in the history
Because sauce connect uses it, but it's meant for the same purpose, so it is appropriate to use the same env var.
  • Loading branch information
cahrens777 authored Sep 3, 2020
1 parent aad33e0 commit 48bcb5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const SauceBrowsers = {
// NOTE: The URL https://saucelabs.com/rest/v1/info/platforms/webdriver has this
// information, but not the available resolutions. That's why we go to the endpoint
// with the much larger set of options (+ automation backends) and then filter down.
SAUCE_URL: "https://" + (process.env.SAUCE_APP_HOST || "saucelabs.com") + "/rest/v1/info/platforms/all?resolutions=true",
SAUCE_URL: "https://" + (process.env.SAUCE_API_HOST || "saucelabs.com") + "/rest/v1/info/platforms/all?resolutions=true",
_haveCachedSauceBrowsers: false,

filter: (fn) => browsers.filter(fn),
Expand Down

0 comments on commit 48bcb5e

Please sign in to comment.