1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-17 07:40:27 +05:30
Piped/src/components/VideoRedirect.vue
2022-01-12 05:31:12 +00:00

17 lines
323 B
Vue

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