From 5241baf80d7b60d7b320270a8c7633c5d7ecdd45 Mon Sep 17 00:00:00 2001 From: Namekuji Date: Fri, 30 Dec 2022 00:31:56 +0900 Subject: [PATCH] add noauth to notfound view --- audon-fe/src/router/index.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/audon-fe/src/router/index.js b/audon-fe/src/router/index.js index 5daf509..ed51790 100644 --- a/audon-fe/src/router/index.js +++ b/audon-fe/src/router/index.js @@ -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",