working v1.

This commit is contained in:
fiatjaf
2022-01-14 09:49:03 -03:00
parent 0d38bc7eb3
commit db20f0c370
21 changed files with 884 additions and 1111 deletions

View File

@@ -20,7 +20,7 @@ window.addEventListener('message', async message => {
response = await browser.runtime.sendMessage({
type: message.data.type,
params: message.data.params,
host: window.location.host
host: location.host
})
} catch (error) {
response = {error}