fix(env): docker
This commit is contained in:
@@ -2,5 +2,5 @@ export const BASE_LABEL_API =
|
||||
process.env.NEXT_PUBLIC_ENV === "production"
|
||||
? "https://label.cowarobot.com"
|
||||
: process.env.NEXT_PUBLIC_ENV === "staging"
|
||||
? "https://label.softtest.cowarobot.com"
|
||||
? "http://172.16.115.128:9110"
|
||||
: "https://label.softtest.cowarobot.com"
|
||||
|
||||
@@ -32,19 +32,19 @@ export const subConfigList: { source: string; url: string }[] =
|
||||
? [
|
||||
{
|
||||
source: "/image",
|
||||
url: "http://172.30.21.213:5532",
|
||||
url: "http://172.16.115.128:5532",
|
||||
},
|
||||
{
|
||||
source: "/video",
|
||||
url: "http://172.30.21.213:5533",
|
||||
url: "http://172.16.115.128:5533",
|
||||
},
|
||||
{
|
||||
source: "/lidar",
|
||||
url: "http://172.30.21.213:5534",
|
||||
url: "http://172.16.115.128:5534",
|
||||
},
|
||||
{
|
||||
source: "/mgt",
|
||||
url: "http://172.30.21.213:5535",
|
||||
url: "http://172.16.115.128:5535",
|
||||
},
|
||||
]
|
||||
: []
|
||||
|
||||
@@ -6,7 +6,7 @@ const BASE_PATH =
|
||||
process.env.NEXT_PUBLIC_ENV === "production"
|
||||
? "https://label.cowarobot.com"
|
||||
: process.env.NEXT_PUBLIC_ENV === "staging"
|
||||
? "https://label.softtest.cowarobot.com"
|
||||
? "http://172.16.115.128:9110"
|
||||
: "https://label.softtest.cowarobot.com"
|
||||
|
||||
// 获取验证码
|
||||
|
||||
Reference in New Issue
Block a user