Snippets

sironekotoro proxy.pac

Created by sironekotoro
function FindProxyForURL(url, host)
{

    const PORT = 23104;

    if (isPlainHostName(host)){
        return "DIRECT";
    }
    else{
        return `PROXY localhost:${PORT}`;
    }

}

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.