No register guard on error route

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-05-12 18:27:12 +02:00
parent 7e7bbacbbf
commit a40d202dd7
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 0 additions and 2 deletions

View File

@ -1,4 +1,3 @@
import { beforeRegisterGuard } from "@/router/guards/register-guard";
import { RouteConfig } from "vue-router";
import { EsModuleComponent } from "vue/types/options";
@ -12,6 +11,5 @@ export const errorRoutes: RouteConfig[] = [
name: ErrorRouteName.ERROR,
component: (): Promise<EsModuleComponent> =>
import(/* webpackChunkName: "Error" */ "../views/Error.vue"),
beforeEnter: beforeRegisterGuard,
},
];