Skip to content

Instantly share code, notes, and snippets.

@slicksammy
Last active August 10, 2024 20:26
Show Gist options
  • Save slicksammy/f036964a99afe2679233c0608b113f98 to your computer and use it in GitHub Desktop.
Save slicksammy/f036964a99afe2679233c0608b113f98 to your computer and use it in GitHub Desktop.
function FindProxyForURL(url, host) {
if (shExpMatch(url, "https://payments.braintree-api.com/graphql") || shExpMatch(url, "deposit.shopifycs.com") ) {
return "PROXY 127.0.0.1:8080";
}
return "DIRECT";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment