Bypassing proxy


#1

Hi, Im having issues in bypassing proxy. I’m new to both JavaScript and Electron and i have a deadline to meet ! So, please help me. If this is duplicate, please redirect me to proper solution. Thanks a ton to my Christmas santa in advance.

my pacfile.pac :

function findProxyForURL(url, host) {

// If the hostname matches, send direct.
if (dnsDomainIs(host, “http://000.00.0.0:0000”) ||
shExpMatch(host, “(*.domain.com)”))
return “DIRECT”;

}