Update background.js

This commit is contained in:
Austin Huang 2020-10-23 19:34:53 -04:00 committed by GitHub
parent 7f9e80abb2
commit 9b0f86ce91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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}`;
}