Piped/src/components/VideoRedirect.vue
2022-04-08 22:37:05 +01:00

16 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>