Clip support #25

This commit is contained in:
dragongoose
2023-08-21 23:26:45 -04:00
parent 1b96f001f9
commit 99899258d4
3 changed files with 173 additions and 2 deletions

View File

@ -7,6 +7,7 @@ const CategoryView = () => import('../views/CategoryView.vue')
const SearchPageView = () => import('../views/SearchPageView.vue')
const VodView = () => import('../views/VodView.vue')
const SettingsView = () => import('../views/SettingsView.vue')
const ClipView = () => import('../views/ClipView.vue')
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
@ -44,6 +45,10 @@ const router = createRouter({
path: '/videos/:vodID',
component: VodView
},
{
path: '/:streamer/clip/:slug',
component: ClipView
},
{ path: '/:pathMatch(.*)*', component: PageNotFound }
]
})