about summary refs log tree commit diff stats
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 39c7b48c..8200d2aa 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}`;
 }