Add live url support

Adds a new `/live/` url support for redirects.
Example youtube url: https://www.youtube.com/live/bcDKnrHBjlk
This commit is contained in:
Glen Lowland 2023-03-13 10:33:10 +00:00
parent 1e3067d88f
commit 8e2f57dbac
No known key found for this signature in database

View file

@ -27,7 +27,7 @@ const routes = [
component: () => import("../components/PlaylistPage.vue"),
},
{
path: "/:path(v|w|embed|shorts|watch)/:v?",
path: "/:path(v|w|embed|live|shorts|watch)/:v?",
name: "WatchVideo",
component: () => import("../components/WatchVideo.vue"),
},