mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-23 18:03:44 +03:00
Fix migration error from 1.49
This commit is contained in:
parent
d56a7e7366
commit
e51673f268
|
@ -552,7 +552,7 @@
|
||||||
}
|
}
|
||||||
if (oldAntiCensorRu.version && window.apis.version.isLeq(oldAntiCensorRu.version, '0.0.1.49')) {
|
if (oldAntiCensorRu.version && window.apis.version.isLeq(oldAntiCensorRu.version, '0.0.1.49')) {
|
||||||
const modsMutated = window.apis.pacKitchen.getPacModsRaw();
|
const modsMutated = window.apis.pacKitchen.getPacModsRaw();
|
||||||
if (modsMutated) {
|
if (modsMutated && modsMutated.exceptions) {
|
||||||
modsMutated.exceptions = Object.entries(modsMutated.exceptions).reduce((acc, [host, ifProxy]) => {
|
modsMutated.exceptions = Object.entries(modsMutated.exceptions).reduce((acc, [host, ifProxy]) => {
|
||||||
acc[\`*.\${host}\`] = ifProxy;
|
acc[\`*.\${host}\`] = ifProxy;
|
||||||
return acc;
|
return acc;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user