mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-11-22 03:05:15 +00:00
april first joke
This commit is contained in:
parent
58be0e4325
commit
5d93431a24
1 changed files with 8 additions and 0 deletions
|
@ -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"}`);
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue