Created
June 8, 2018 11:10
-
-
Save lomadurov/c03d779d9f958215a18130cfe9622c91 to your computer and use it in GitHub Desktop.
slack-proxy.pac
This file contains hidden or 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) { | |
| if (shExpMatch(host, "*.slack-msgs.com")) { | |
| // Use SOCK proxy, or fall back to a DIRECT traffic. | |
| // ssh -D 8000 [user]@[server] | |
| return "SOCKS 127.0.0.1:8000; DIRECT"; | |
| } | |
| return "DIRECT"; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment