mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-10-31 17:02:38 +00:00
fix: 🚑 Fix 404 error for /embed/
This commit is contained in:
parent
691b70d0d7
commit
98820a04ab
2 changed files with 20 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
* Data Storage:
|
||||
* localStorage.setItem("key", data)
|
||||
* localStorage.getItem('key')
|
||||
* this.$router.push("PageName");
|
||||
*/
|
||||
|
||||
export default {
|
||||
|
|
19
NUXT/pages/embed/_redirect_.vue
Normal file
19
NUXT/pages/embed/_redirect_.vue
Normal 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>
|
Loading…
Reference in a new issue