1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-16 23:30:27 +05:30
Piped/src/components/VideoRedirect.vue
2022-04-08 22:37:05 +01:00

17 lines
319 B
Vue

<template>
<div v-t="'actions.loading'" />
</template>
<script>
export default {
activated() {
const videoId = this.$route.params.videoId;
if (videoId)
this.$router.replace({
path: "/watch",
query: { v: videoId },
});
},
};
</script>