diff options
author | Austin Huang <im@austinhuang.me> | 2020-10-23 19:34:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-23 19:34:53 -0400 |
commit | 9b0f86ce91c99a62205d73d9ff675beae6545383 (patch) | |
tree | 0cfe538671c42ae7f6b28dcb1e917a550d047894 | |
parent | Create messages.json (diff) | |
download | libredirect-9b0f86ce91c99a62205d73d9ff675beae6545383.zip |
Update background.js
-rw-r--r-- | background.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/background.js b/background.js index 3f5145cd..e1405acd 100644 --- a/background.js +++ b/background.js @@ -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}`; } |