0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-25 20:55:17 +00:00

fix: 🚑 Fix 404 error for /embed/

This commit is contained in:
Kenny 2022-04-06 10:47:25 -04:00
parent 691b70d0d7
commit 98820a04ab
2 changed files with 20 additions and 0 deletions

View file

@ -2,6 +2,7 @@
* Data Storage:
* localStorage.setItem("key", data)
* localStorage.getItem('key')
* this.$router.push("PageName");
*/
export default {

View file

@ -0,0 +1,19 @@
<template>
<div>
Redirecting...
</div>
</template>
<script>
export default {
layout: "empty",
mounted() {
this.$router.push(
"/watch?v="
+ $nuxt.$route.params.redirect_
);
}
}
</script>