mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-23 18:03:44 +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).
|
||||
const migrateProxies = (oldStr) => oldStr.replace(/;\\r?\\n?/g, ';\\n');
|
||||
const modsMutated = window.apis.pacKitchen.getPacModsRaw();
|
||||
modsMutated['customProxyStringRaw'] = migrateProxies(conf.value);
|
||||
modsMutated['customProxyStringRaw'] = migrateProxies(modsMutated['customProxyStringRaw']);
|
||||
window.apis.pacKitchen.keepCookedNowAsync(modsMutated, ifUpdatedCb);
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user