mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-24 02:13:43 +03:00
Fix migration bug
This commit is contained in:
parent
9b35c413cc
commit
558d67204b
|
@ -538,7 +538,7 @@
|
||||||
// Change semicolons to semicolons followed by newlines in proxy string (raw).
|
// Change semicolons to semicolons followed by newlines in proxy string (raw).
|
||||||
const migrateProxies = (oldStr) => oldStr.replace(/;\\r?\\n?/g, ';\\n');
|
const migrateProxies = (oldStr) => oldStr.replace(/;\\r?\\n?/g, ';\\n');
|
||||||
const modsMutated = window.apis.pacKitchen.getPacModsRaw();
|
const modsMutated = window.apis.pacKitchen.getPacModsRaw();
|
||||||
modsMutated['customProxyStringRaw'] = migrateProxies(conf.value);
|
modsMutated['customProxyStringRaw'] = migrateProxies(modsMutated['customProxyStringRaw']);
|
||||||
window.apis.pacKitchen.keepCookedNowAsync(modsMutated, ifUpdatedCb);
|
window.apis.pacKitchen.keepCookedNowAsync(modsMutated, ifUpdatedCb);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user