From 737f94c4c847d402d522c11568508c0b1db36eee Mon Sep 17 00:00:00 2001 From: Nishant Arora <1895906+whizzzkid@users.noreply.github.com> Date: Sun, 17 Sep 2023 03:28:08 -0600 Subject: [PATCH] fix(options): :wastebasket: Fix target URLs. Signed-off-by: Nishant Arora <1895906+whizzzkid@users.noreply.github.com> --- add-on/src/options/store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/add-on/src/options/store.js b/add-on/src/options/store.js index 961edd72f..f5458e5ec 100644 --- a/add-on/src/options/store.js +++ b/add-on/src/options/store.js @@ -15,7 +15,7 @@ export default function optionStore (state, emitter) { state.redirectRules = existingRedirectRules.map(rule => ({ id: rule.id, origin: rule.condition.regexFilter?.replace(RULE_REGEX_ENDING, '(.*)').replaceAll('\\', ''), - target: rule.action.redirect?.regexSubstitution?.replace('\\1', '') + target: rule.action.redirect?.regexSubstitution })) emitter.emit('render') }