From da4345a985df02a41c3012e44a4219d1b48b77ac Mon Sep 17 00:00:00 2001 From: Merlin <4706504+MerlinScheurer@users.noreply.github.com> Date: Thu, 21 Sep 2023 12:31:19 +0200 Subject: [PATCH] Fix video exists check missing port (#23) --- extension/background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/background.js b/extension/background.js index 1f97efc..dc61604 100644 --- a/extension/background.js +++ b/extension/background.js @@ -140,7 +140,7 @@ async function videoExists(id) { let response = await sendGet(path); if (!response.data) return false; let access = await getAccess(); - return new URL(`video/${id}/`, access.url).href; + return new URL(`video/${id}/`, `${access.url}:${access.port}/`).href; } async function getChannelCache() {