Vod support
This commit is contained in:
@ -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 }
|
||||
]
|
||||
})
|
||||
|
Reference in New Issue
Block a user