Merge branch 'zh' into 'main'

fix(env): url

See merge request prism/lable/labelmain!4
This commit is contained in:
刘耀勇
2026-04-02 15:30:14 +08:00
3 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
export const BASE_LABEL_API =
process.env.NEXT_PUBLIC_ENV === "production"
? "https://label.soft.cowarobot.com"
? "https://label.cowarobot.com"
: process.env.NEXT_PUBLIC_ENV === "staging"
? "http://172.16.115.128:9110"
: "https://label.softtest.cowarobot.com"

View File

@@ -50,19 +50,19 @@ export const subConfigList: { source: string; url: string }[] =
: [
{
source: "/image",
url: "https://label.soft.cowarobot.com",
url: "https://label.cowarobot.com",
},
{
source: "/video",
url: "https://label.soft.cowarobot.com",
url: "https://label.cowarobot.com",
},
{
source: "/lidar",
url: "https://label.soft.cowarobot.com",
url: "https://label.cowarobot.com",
},
{
source: "/mgt",
url: "https://label.soft.cowarobot.com",
url: "https://label.cowarobot.com",
},
]

View File

@@ -4,7 +4,7 @@ import { Login } from "./types"
const BASE_PATH =
process.env.NEXT_PUBLIC_ENV === "production"
? "https://label.soft.cowarobot.com"
? "https://label.cowarobot.com"
: process.env.NEXT_PUBLIC_ENV === "staging"
? "http://172.16.115.128:9110"
: "https://label.softtest.cowarobot.com"