Skip to content

Instantly share code, notes, and snippets.

@gingerbeardman
Last active January 30, 2022 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gingerbeardman/dd6691c2706a3d27a485a7a7dc3e5d60 to your computer and use it in GitHub Desktop.
Save gingerbeardman/dd6691c2706a3d27a485a7a7dc3e5d60 to your computer and use it in GitHub Desktop.
PAC to route some content used by world.hoyoyo.com through secure HTTPS proxy to increase loading speed
function FindProxyForURL(url, host) {
// send hoyoyo requests to the proxy
if (shExpMatch(host, "*.hoyoyo.com|*.hoyoyo-cache.com")) return "PROXY 12.34.56.78:90";
// leave all other accesses untouched
return "DIRECT";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment