From 014ad21fd6fcfe93a964bb0d74c842260de9191a Mon Sep 17 00:00:00 2001 From: kodxana Date: Sat, 28 Aug 2021 21:59:18 +0200 Subject: [PATCH] Update tabOnUpdated.ts --- src/scripts/tabOnUpdated.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/tabOnUpdated.ts b/src/scripts/tabOnUpdated.ts index e73fe73..053d919 100644 --- a/src/scripts/tabOnUpdated.ts +++ b/src/scripts/tabOnUpdated.ts @@ -35,7 +35,7 @@ async function ctxFromURL(url: string): Promise { // handles lbry.tv -> lbry app redirect chrome.tabs.onUpdated.addListener(async (tabId, changeInfo, { url: tabUrl }) => { const { enabled, redirect } = await getSettingsAsync('enabled', 'redirect'); - if (!enabled || redirect !== 'app' || !changeInfo.url || !tabUrl?.startsWith('https://lbry.tv/')) return; + if (!enabled || redirect !== 'app' || !changeInfo.url || !tabUrl?.startsWith('https://odysee.com/')) return; const url = appRedirectUrl(tabUrl, { encode: true }); if (!url) return;