Bypassing proxy


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, “”) ||
shExpMatch(host, “(*”))
return “DIRECT”;