Only excempt snark URL's from proxy if they end do not end in a backslash, and contain /snark/
This commit is contained in:
2
proxy.js
2
proxy.js
@ -33,7 +33,7 @@ var handleContextProxyRequest = async function(requestDetails) {
|
||||
if (context != undefined) {
|
||||
if (context.name == titlepref) {
|
||||
var tab = tabGet(requestDetails.tabId);
|
||||
if (!requestDetails.url.includes('/i2psnark/')) {
|
||||
if (!requestDetails.url.includes('/i2psnark/') && !requestDetails.url.endsWith("/")) {
|
||||
console.log('URL', requestDetails.url);
|
||||
proxy = {
|
||||
type: getScheme(),
|
||||
|
Reference in New Issue
Block a user