Skip to content

Instantly share code, notes, and snippets.

@desilinguist
Last active April 3, 2024 17:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save desilinguist/7b32e306d51ec66cac256431fc07f573 to your computer and use it in GitHub Desktop.
Save desilinguist/7b32e306d51ec66cac256431fc07f573 to your computer and use it in GitHub Desktop.
function FindProxyForURL(url, host) {
if (shExpMatch(url, "https://gitlab.ets.org/*") || shExpMatch(url, "https://artifactory.ets.org/*")) {
return "PROXY localhost:9128";
}
return "DIRECT";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment