0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-22 03:05:15 +00:00

april first joke

This commit is contained in:
Kenny 2022-04-01 07:19:34 -04:00 committed by GitHub
parent 58be0e4325
commit 5d93431a24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,6 +49,14 @@ export default {
await theming;
await this.$youtube.getAPI();
this.progressMsg = "Navigating Home";
//--- April First Joke ---//
if (Math.floor(Math.random() * 9 == 0)) {
this.$router.push("/watch?v=dQw4w9WgXcQ");
return;
}
//----------------------------//
this.$router.push(`/${localStorage.getItem("startPage") || "home"}`);
},
};