diff --git a/spot/entrypoints/background.ts b/spot/entrypoints/background.ts index e1fdbc6cc..f7531289e 100644 --- a/spot/entrypoints/background.ts +++ b/spot/entrypoints/background.ts @@ -248,7 +248,7 @@ export default defineBackground(() => { }); async function pingJWT(ingest: string): Promise { - const refreshUrl = safeApiUrl(`${ingest}/api/refresh`); + const refreshUrl = safeApiUrl(`${ingest}/api`); if (!jwtToken) { if (pingInt) { clearInterval(pingInt); diff --git a/spot/entrypoints/content/ControlsBox.tsx b/spot/entrypoints/content/ControlsBox.tsx index 763b7bb87..6b300412c 100644 --- a/spot/entrypoints/content/ControlsBox.tsx +++ b/spot/entrypoints/content/ControlsBox.tsx @@ -29,7 +29,7 @@ interface IControlsBox { getInitState: () => string; onRestart: () => void; getErrorEvents: () => Promise; - getAudioPerm: () => boolean, + getAudioPerm: () => number, } function ControlsBox({ diff --git a/spot/entrypoints/content/index.tsx b/spot/entrypoints/content/index.tsx index 91e46b8e1..881b8e278 100644 --- a/spot/entrypoints/content/index.tsx +++ b/spot/entrypoints/content/index.tsx @@ -21,7 +21,9 @@ export default defineContentScript({ position: "inline", anchor: "body", append: "first", - onMount: (container) => { + onMount: (container,s,host) => { + Object.assign(host.style, { visibility: 'visible', display: 'block' }); + return render( () => (