Skip to content

Instantly share code, notes, and snippets.

@joelworsham
Created October 16, 2023 16:32
Show Gist options
  • Save joelworsham/844adc42f5372400431e8395a3a10198 to your computer and use it in GitHub Desktop.
Save joelworsham/844adc42f5372400431e8395a3a10198 to your computer and use it in GitHub Desktop.
Rubrik MacOS Proxy PAC locahost -> postman mock
function FindProxyForURL(url, host) {
if (host === "localhost:3000") {
return "PROXY https://0ae9179a-3fc7-4862-ba27-c9366ed5724d.mock.pstmn.io; DIRECT";
}
return "DIRECT";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment