1 2 3 4 5 6 7 8 9 10 11 12 13
function FindProxyForURL(url, host) { const PORT = 23104; if (isPlainHostName(host)){ return "DIRECT"; } else{ return `PROXY localhost:${PORT}`; } }
You can clone a snippet to your computer for local editing. Learn more.