Created
October 10, 2016 09:48
-
-
Save krasnuydyx/f64685d6f44264809d3bc8f8de997166 to your computer and use it in GitHub Desktop.
Auto proxy configuration for mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function FindProxyForURL(url, host) { | |
PROXY = "PROXY 1.2.3.4" | |
// Apple.com via proxy | |
if (shExpMatch(host,"*.apple.com")) { | |
return PROXY; | |
} | |
// Everything else directly! | |
return "DIRECT"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment