Piped/src/components/VideoRedirect.vue

17 lines
343 B
Vue
Raw Permalink Normal View History

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