Update background.js
This commit is contained in:
parent
7f9e80abb2
commit
9b0f86ce91
|
@ -307,7 +307,7 @@ function redirectYouTube(url, initiator, type) {
|
|||
url.searchParams.append("autoplay", invidiousAutoplay ? 1 : 0);
|
||||
|
||||
return `${invidiousInstance || getRandomInstance(invidiousInstances)}${
|
||||
url.pathname
|
||||
url.pathname.replace("/shorts","")
|
||||
}${url.search}`;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue