Last active
December 24, 2024 18:20
-
-
Save thewhodidthis/4f5bf2f37f4870b9235642b48827c893 to your computer and use it in GitHub Desktop.
Helps locally route .pi4 requests
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
| // https://gist.githubusercontent.com/thewhodidthis/4f5bf2f37f4870b9235642b48827c893/raw/proxy.pac | |
| function FindProxyForURL(url, host) { | |
| if (shExpMatch(host, "*.pi4")) { | |
| return "PROXY 192.168.1.227" | |
| } | |
| return "DIRECT" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment