diff --git a/extension-manifest-v3/src/utils/engines.js b/extension-manifest-v3/src/utils/engines.js index da9b98769..cf9ee905d 100644 --- a/extension-manifest-v3/src/utils/engines.js +++ b/extension-manifest-v3/src/utils/engines.js @@ -456,6 +456,8 @@ export function replace(name, engineOrEngines) { const engines = [].concat(engineOrEngines); const engine = engines.length > 1 ? FiltersEngine.merge(engines) : engines[0]; + engine.updateEnv(ENV); + saveToMemory(name, engine); saveToStorage(name).catch(() => { console.error(`[engines] Failed to save engine "${name}" to storage`);