this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

move app url to a constant

+3 -1
+3 -1
background.js
··· 1 1 const tabsWithDID = new Set() 2 2 3 + const bskyAppUrl = "https://staging.bsky.app" 4 + 3 5 function setIcon(tabId, iconName) { 4 6 chrome.action.setIcon({ path: iconName, tabId }) 5 7 } ··· 24 26 if (tabsWithDID.has(tab.id)) { 25 27 chrome.tabs.sendMessage(tab.id, { type: "GET_DOMAIN" }, (response) => { 26 28 if (response && response.domain) { 27 - const newUrl = `https://staging.bsky.app/profile/${response.domain}` 29 + const newUrl = `${bskyAppUrl}/profile/${response.domain}` 28 30 chrome.tabs.create({ url: newUrl }) 29 31 } 30 32 })