use host id instead of host in settings

This commit is contained in:
2026-06-28 20:20:37 +02:00
parent 0455b53992
commit a1328e8908
6 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ export default defineBackground(() => {
const host = await getHost(new URL(details.url).hostname);
if (!host) return;
await HostSettings.addTemporaryHostDomain(host, new URL(details.redirectUrl).hostname);
await HostSettings.addTemporaryHostDomain(host.id, new URL(details.redirectUrl).hostname);
},
{ urls: ['<all_urls>'], types: ['main_frame', 'sub_frame'] }
);