Vod support

This commit is contained in:
dragongoose
2023-07-19 20:26:43 -04:00
parent 4b4d1385d2
commit 820ceda499
10 changed files with 282 additions and 40 deletions

View File

@ -5,6 +5,7 @@ const PrivacyPageView = () => import('../views/PrivacyPageView.vue')
const HomepageView = () => import('../views/HomepageView.vue')
const CategoryView = () => import('../views/CategoryView.vue')
const SearchPageView = () => import('../views/SearchPageView.vue')
const VodView = () => import('../views/VodView.vue')
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
@ -30,6 +31,10 @@ const router = createRouter({
path: '/:username',
component: UserView
},
{
path: '/videos/:vodID',
component: VodView
},
{ path: '/:pathMatch(.*)*', component: PageNotFound }
]
})