Files
SingBox-Gopanel/frontend/admin/reverse/extracted/router-manifest.js
CN-JS-HuiBai 609ab002b3
Some checks failed
build / build (api, amd64, linux) (push) Failing after -52s
build / build (api, arm64, linux) (push) Failing after -52s
build / build (api.exe, amd64, windows) (push) Failing after -52s
修复丢失的前端文件
2026-04-18 22:03:26 +08:00

78 lines
2.0 KiB
JavaScript

const adminRouteManifest = [
{
path: "/sign-in",
mode: "lazy",
note: "login page",
},
{
path: "/",
layout: "authenticated",
children: [
{
index: true,
mode: "lazy",
note: "dashboard overview",
},
{
path: "config",
children: [
{
path: "system",
mode: "lazy",
children: [
{ index: true, mode: "lazy", note: "system overview" },
{ path: "safe", mode: "lazy" },
{ path: "subscribe", mode: "lazy" },
{ path: "invite", mode: "lazy" },
{ path: "frontend", mode: "lazy" },
{ path: "server", mode: "lazy" },
{ path: "email", mode: "lazy" },
{ path: "telegram", mode: "lazy" },
{ path: "APP", mode: "lazy" },
{ path: "subscribe-template", mode: "inline" },
],
},
{ path: "payment", mode: "lazy" },
{ path: "plugin", mode: "lazy" },
{ path: "theme", mode: "lazy" },
{ path: "notice", mode: "lazy" },
{ path: "knowledge", mode: "lazy" },
],
},
{
path: "server",
children: [
{ path: "manage", mode: "lazy" },
{ path: "group", mode: "lazy" },
{ path: "route", mode: "lazy" },
],
},
{
path: "finance",
children: [
{ path: "plan", mode: "lazy" },
{ path: "order", mode: "lazy" },
{ path: "coupon", mode: "lazy" },
{ path: "gift-card", mode: "lazy" },
],
},
{
path: "user",
children: [
{ path: "manage", mode: "lazy" },
{ path: "ticket", mode: "lazy" },
{ path: "traffic-reset-logs", mode: "lazy" },
],
},
],
},
{ path: "/500", mode: "static" },
{ path: "/404", mode: "static" },
{ path: "/503", mode: "static" },
{ path: "*", mode: "static" },
];
module.exports = {
adminRouteManifest,
};