I have created a browser extension that uses a proxy, the proxy works fine and I am able to bypass the proxy for certain domains and sub domains that I specify. I am trying to bypass the proxy for a specific subdirectory of a domain, but this does not seem to be working, any advice? I have looked the documentation from google, but it does not mention about subdirectories. Please see the code below where I have put a wildcard as an example of what I am trying to do:
mode: "fixed_servers",
rules: {
proxyForHttp: {
scheme: "socks5",
host: "1.2.3.4"
},
bypassList: ["foobar.com/dir1/dir/*"]
}
};
chrome.proxy.settings.set(
{value: config, scope: 'regular'},
function() {}
);```