diff --git a/src/components/NewChannelRedirect.vue b/src/components/NewChannelRedirect.vue new file mode 100644 index 0000000..b4f903e --- /dev/null +++ b/src/components/NewChannelRedirect.vue @@ -0,0 +1,16 @@ + + + diff --git a/src/router/index.js b/src/router/index.js index d2c93d6..cd5552a 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -58,6 +58,10 @@ const routes = [ name: 'Channel', component: () => import('@/routes/Channel') }, + { + path: '/@:channelId', + component: () => import('@/components/NewChannelRedirect') + }, { path: '/:videoId([a-zA-Z0-9_-]{11})', component: () => import('@/components/Video/VideoRedirect')