From dcc10f0c995fc8cfa97094f491e10a771d6addef Mon Sep 17 00:00:00 2001 From: Nishant Arora <1895906+whizzzkid@users.noreply.github.com> Date: Wed, 20 Sep 2023 09:56:37 -0600 Subject: [PATCH] fix(options): :wastebasket: Fix target URLs. (#1280) 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') }