mirror of
https://github.com/tubearchivist/browser-extension.git
synced 2024-11-22 19:50:12 +00:00
Fix video exists check missing port (#23)
This commit is contained in:
parent
dc8fecf792
commit
da4345a985
@ -140,7 +140,7 @@ async function videoExists(id) {
|
|||||||
let response = await sendGet(path);
|
let response = await sendGet(path);
|
||||||
if (!response.data) return false;
|
if (!response.data) return false;
|
||||||
let access = await getAccess();
|
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() {
|
async function getChannelCache() {
|
||||||
|
Loading…
Reference in New Issue
Block a user