Add support for youtu.be 11 character redirects.

This commit is contained in:
FireMasterK
2021-07-20 02:55:43 +05:30
parent 3a71f8c1d3
commit bae1cd3ce1
2 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<template>
<div>Loading...</div>
</template>
<script>
export default {
activated() {
const videoId = this.$route.params.videoId;
if (videoId)
this.$router.push({
path: "/watch",
query: { v: videoId },
});
},
};
</script>