mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 21:57:49 +01:00
fix issue 4045 :3
This commit is contained in:
parent
c265878755
commit
4c767b2deb
1 changed files with 4 additions and 6 deletions
|
@ -72,15 +72,13 @@ module.exports = async function (video_id) {
|
|||
.replace("invidious.sethforprivacy.com", "y.com.sb")
|
||||
}
|
||||
|
||||
if(url == "https://tube.kuylar.dev") {
|
||||
var isInvidiousURL = false
|
||||
} else {
|
||||
isInvidiousURL = true;
|
||||
}
|
||||
const isInvidiousURL = url === "https://tube.kuylar.dev" ? false : true;
|
||||
|
||||
const videoProxyObject = {
|
||||
isInvidiousURL,
|
||||
url
|
||||
cacheBuster:"d0550b6e28c8f93533a569c314d5b4e2",
|
||||
InvidiousPoketube:"AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8",
|
||||
url:"https://vid.theedgeofrage.com" // set for now : see https://github.com/iv-org/invidious/issues/4045
|
||||
}
|
||||
|
||||
return videoProxyObject;
|
||||
|
|
Loading…
Reference in a new issue