add noauth to notfound view

peertube
Namekuji 2022-12-30 00:31:56 +09:00
rodzic 67e83c7990
commit 5241baf80d
1 zmienionych plików z 8 dodań i 1 usunięć

Wyświetl plik

@ -7,7 +7,14 @@ import NotFoundView from "../views/NotFoundView.vue";
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{ path: "/:pathMatch(.*)*", name: "notfound", component: NotFoundView },
{
path: "/:pathMatch(.*)*",
name: "notfound",
meta: {
noauth: true,
},
component: NotFoundView,
},
{
path: "/",
name: "home",