summaryrefslogtreecommitdiffstats
path: root/background.js
diff options
context:
space:
mode:
Diffstat (limited to 'background.js')
-rw-r--r--background.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/background.js b/background.js
index 39c7b48..8200d2a 100644
--- a/background.js
+++ b/background.js
@@ -312,7 +312,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}`;
}