From 8e2f57dbac908a9f5d3fd074a6b8a02a79a6e08a Mon Sep 17 00:00:00 2001 From: Glen Lowland Date: Mon, 13 Mar 2023 10:33:10 +0000 Subject: [PATCH] Add live url support Adds a new `/live/` url support for redirects. Example youtube url: https://www.youtube.com/live/bcDKnrHBjlk --- src/router/router.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/router.js b/src/router/router.js index 440355ed..26cfa9f0 100644 --- a/src/router/router.js +++ b/src/router/router.js @@ -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"), },