Last active
June 12, 2019 16:19
-
-
Save ibratoev/8302c7068cd5ca3fd99b3a98dc1793ce to your computer and use it in GitHub Desktop.
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 192.168.6.35:808" | |
if (shExpMatch(host,"*.demandware.net")) { | |
return PROXY; | |
} | |
if (shExpMatch(host,"*.demandware.com")) { | |
return PROXY; | |
} | |
return "DIRECT"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment