fix(common): fix

This commit is contained in:
zhangheng
2026-03-16 17:10:13 +08:00
parent 8d3ebbb31d
commit c8b2311488
7 changed files with 97 additions and 76 deletions

View File

@@ -28,8 +28,25 @@ export const subConfigList: { source: string; url: string }[] =
url: "http://localhost:5535",
},
]
: process.env.NEXT_PUBLIC_ENV === "standalone"
? []
: process.env.NEXT_PUBLIC_ENV === "staging"
? [
{
source: "/image",
url: "http://172.30.21.213:5532",
},
{
source: "/video",
url: "http://172.30.21.213:5533",
},
{
source: "/lidar",
url: "http://172.30.21.213:5534",
},
{
source: "/mgt",
url: "http://172.30.21.213:5535",
},
]
: []
const currentComponentList: MenuItem[] = [