Skip to content

Instantly share code, notes, and snippets.

@antimatter96
Last active September 8, 2021 11:40
Show Gist options
  • Save antimatter96/032844817b04cdc35864f7e1fa198852 to your computer and use it in GitHub Desktop.
Save antimatter96/032844817b04cdc35864f7e1fa198852 to your computer and use it in GitHub Desktop.
function FindProxyForURL (url, host) { if (dnsDomainIs(host, '.local')) { return 'PROXY localhost:2000'; } return 'DIRECT'; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment