Created Utils.DEFAULT_PROXY and referenced it everywhere

This commit is contained in:
Samuel Crypto
2018-11-02 08:07:31 -04:00
parent f47b4c8f6c
commit 66cde07135
4 changed files with 15 additions and 6 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ const assignManager = {
async handleProxifiedRequest(requestInfo) {
if(requestInfo.tabId === -1)
return {type: "direct"};
return Utils.DEFAULT_PROXY;
const tab = await browser.tabs.get(requestInfo.tabId);
const proxy = await proxifiedContainers.retrieveFromBackground(tab.cookieStoreId);