Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@unixfox
Created May 1, 2019 09:48
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 unixfox/d8b1c830d2c48c68d6a8a053670786bf to your computer and use it in GitHub Desktop.
Save unixfox/d8b1c830d2c48c68d6a8a053670786bf to your computer and use it in GitHub Desktop.
pac compy
function FindProxyForURL(url, host) {
if (url.substring(0, 5) == 'http:' || url.substring(0, 6) == 'https:') {
return "HTTP 192.168.192.10:8080";
}
return "DIRECT";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment