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 =
|
export const BASE_LABEL_API =
|
||||||
process.env.NEXT_PUBLIC_ENV === "production"
|
process.env.NEXT_PUBLIC_ENV === "production"
|
||||||
? "https://label.soft.cowarobot.com"
|
? "https://label.cowarobot.com"
|
||||||
: process.env.NEXT_PUBLIC_ENV === "staging"
|
: process.env.NEXT_PUBLIC_ENV === "staging"
|
||||||
? "http://172.16.115.128:9110"
|
? "http://172.16.115.128:9110"
|
||||||
: "https://label.softtest.cowarobot.com"
|
: "https://label.softtest.cowarobot.com"
|
||||||
|
|||||||
@@ -50,19 +50,19 @@ export const subConfigList: { source: string; url: string }[] =
|
|||||||
: [
|
: [
|
||||||
{
|
{
|
||||||
source: "/image",
|
source: "/image",
|
||||||
url: "https://label.soft.cowarobot.com",
|
url: "https://label.cowarobot.com",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
source: "/video",
|
source: "/video",
|
||||||
url: "https://label.soft.cowarobot.com",
|
url: "https://label.cowarobot.com",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
source: "/lidar",
|
source: "/lidar",
|
||||||
url: "https://label.soft.cowarobot.com",
|
url: "https://label.cowarobot.com",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
source: "/mgt",
|
source: "/mgt",
|
||||||
url: "https://label.soft.cowarobot.com",
|
url: "https://label.cowarobot.com",
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { Login } from "./types"
|
|||||||
|
|
||||||
const BASE_PATH =
|
const BASE_PATH =
|
||||||
process.env.NEXT_PUBLIC_ENV === "production"
|
process.env.NEXT_PUBLIC_ENV === "production"
|
||||||
? "https://label.soft.cowarobot.com"
|
? "https://label.cowarobot.com"
|
||||||
: process.env.NEXT_PUBLIC_ENV === "staging"
|
: process.env.NEXT_PUBLIC_ENV === "staging"
|
||||||
? "http://172.16.115.128:9110"
|
? "http://172.16.115.128:9110"
|
||||||
: "https://label.softtest.cowarobot.com"
|
: "https://label.softtest.cowarobot.com"
|
||||||
|
|||||||
Reference in New Issue
Block a user