mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-24 02:13:43 +03:00
Refactor one line
This commit is contained in:
parent
35668f620b
commit
38e2bb2f3c
|
@ -388,7 +388,7 @@
|
||||||
const ifManualExceptions = ifIncluded || ifExcluded;
|
const ifManualExceptions = ifIncluded || ifExcluded;
|
||||||
const finalExceptions = {};
|
const finalExceptions = {};
|
||||||
if (pacMods.ifProxyMoreDomains) {
|
if (pacMods.ifProxyMoreDomains) {
|
||||||
pacMods.moreDomains.reduce((acc, tld) => {
|
finalExceptions = pacMods.moreDomains.reduce((acc, tld) => {
|
||||||
|
|
||||||
acc[tld] = true;
|
acc[tld] = true;
|
||||||
return acc;
|
return acc;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user