mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2026-04-04 05:13:17 +08:00
Bug fixed for keyword replace
This commit is contained in:
@@ -1785,7 +1785,7 @@ function KeywordRenameOperator(keywords) {
|
||||
func: (proxies) => {
|
||||
return proxies.map((proxy) => {
|
||||
for (const {old, now} of keywords) {
|
||||
proxy.name = proxy.name.replace(old, now).trim();
|
||||
proxy.name = proxy.name.replaceAll(old, now).trim();
|
||||
}
|
||||
return proxy;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user