Skip to content

Commit 9cd3b15

Browse files
committed
fix(tabs): update tab creation URL to use injectUrl
- Change the URL used in tab creation from homeUrl to injectUrl for better functionality
1 parent af62bef commit 9cd3b15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sync/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export async function createTabsForPlatforms(data: SyncData) {
141141
} else {
142142
const platformInfo = infoMap[info.name];
143143
if (platformInfo) {
144-
tab = await chrome.tabs.create({ url: platformInfo.homeUrl });
144+
tab = await chrome.tabs.create({ url: platformInfo.injectUrl });
145145
}
146146
}
147147
// 等待标签页加载完成

0 commit comments

Comments
 (0)