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
1 changed files with 8 additions and 0 deletions

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"}`);
},
};