Last active
April 18, 2016 08:33
-
-
Save 178inaba/0b01650c22a11fb2bc5547ea0894cc7e to your computer and use it in GitHub Desktop.
wildcard subdomain for homestead
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, '*.homestead.app')) { | |
| return 'PROXY homestead.app'; | |
| } | |
| if (shExpMatch(host, 'homestead.app')) { | |
| return 'PROXY homestead.app'; | |
| } | |
| return 'DIRECT'; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment