1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-16 23:30:27 +05:30
Piped/src/components/VideoRedirect.vue

17 lines
319 B
Vue
Raw Normal View History

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