Merge branch 'zh' into 'main'
fix(env): url See merge request prism/lable/labelmain!4
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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",
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user