mirror of
https://github.com/TeamPiped/Piped.git
synced 2026-08-09 23:31:28 +00:00
@@ -1,10 +1,11 @@
|
||||
import { createRouter, createWebHistory } from "vue-router";
|
||||
import { getHomePage } from "@/composables/useMisc.js";
|
||||
|
||||
const routes = [
|
||||
{
|
||||
path: "/",
|
||||
name: "Home",
|
||||
component: () => import("../components/TrendingPage.vue"),
|
||||
redirect: () => getHomePage() ?? "/trending",
|
||||
},
|
||||
{
|
||||
path: "/trending",
|
||||
|
||||
Reference in New Issue
Block a user