Skip to content

Commit

Permalink
Fix video exists check missing port (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
MerlinScheurer authored Sep 21, 2023
1 parent dc8fecf commit da4345a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit da4345a

Please sign in to comment.