fix26: полный прод-фикс auth/jwt, import-export peer и frontend flow
This commit is contained in:
@@ -53,7 +53,7 @@ export const asyncRoutes: any[] = [
|
||||
name: "Dashboard",
|
||||
meta: {
|
||||
title: "dashboard",
|
||||
icon: "dashboard",
|
||||
icon: "report",
|
||||
roles: ["admin"],
|
||||
},
|
||||
children: [
|
||||
@@ -63,16 +63,30 @@ export const asyncRoutes: any[] = [
|
||||
name: "DashboardIndex",
|
||||
meta: {
|
||||
title: "dashboard",
|
||||
icon: "dashboard",
|
||||
icon: "report",
|
||||
roles: ["admin"],
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/admin",
|
||||
component: "Layout",
|
||||
redirect: "/admin/change-password",
|
||||
meta: { hidden: true, roles: ["admin"] },
|
||||
children: [
|
||||
{
|
||||
path: "change-password",
|
||||
component: "admin/change-password/index",
|
||||
name: "AdminChangePassword",
|
||||
meta: { title: "changePassword", hidden: true, roles: ["admin"] },
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/peers",
|
||||
component: "Layout",
|
||||
redirect: "/list",
|
||||
redirect: "/peers/list",
|
||||
name: "Peer",
|
||||
meta: { title: "peer", icon: "users", roles: ["admin"] },
|
||||
children: [
|
||||
@@ -94,7 +108,7 @@ export const asyncRoutes: any[] = [
|
||||
{
|
||||
path: "/hysteria",
|
||||
component: "Layout",
|
||||
redirect: "/list",
|
||||
redirect: "/hysteria/list",
|
||||
name: "Hysteria",
|
||||
meta: { title: "hysteria", icon: "hysteria", roles: ["admin"] },
|
||||
children: [
|
||||
@@ -113,7 +127,7 @@ export const asyncRoutes: any[] = [
|
||||
{
|
||||
path: "/config",
|
||||
component: "Layout",
|
||||
redirect: "/list",
|
||||
redirect: "/config/list",
|
||||
name: "Config",
|
||||
meta: { title: "config", icon: "setting", roles: ["admin"] },
|
||||
children: [
|
||||
@@ -135,7 +149,7 @@ export const asyncRoutes: any[] = [
|
||||
{
|
||||
path: "/log",
|
||||
component: "Layout",
|
||||
redirect: "/system",
|
||||
redirect: "/log/system",
|
||||
name: "Log",
|
||||
meta: { title: "log", icon: "error", roles: ["admin"] },
|
||||
children: [
|
||||
|
||||
Reference in New Issue
Block a user