feat(ci): add file
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export const BASE_LABEL_API =
|
||||
process.env.NEXT_PUBLIC_ENV === "production"
|
||||
? "https://label.cowarobot.com"
|
||||
? "https://label.soft.cowarobot.com"
|
||||
: process.env.NEXT_PUBLIC_ENV === "staging"
|
||||
? "http://172.16.115.128:9110"
|
||||
: "https://label.softtest.cowarobot.com"
|
||||
|
||||
@@ -47,7 +47,24 @@ export const subConfigList: { source: string; url: string }[] =
|
||||
url: "http://172.16.115.128:5535",
|
||||
},
|
||||
]
|
||||
: []
|
||||
: [
|
||||
{
|
||||
source: "/image",
|
||||
url: "https://label.soft.cowarobot.com",
|
||||
},
|
||||
{
|
||||
source: "/video",
|
||||
url: "https://label.soft.cowarobot.com",
|
||||
},
|
||||
{
|
||||
source: "/lidar",
|
||||
url: "https://label.soft.cowarobot.com",
|
||||
},
|
||||
{
|
||||
source: "/mgt",
|
||||
url: "https://label.soft.cowarobot.com",
|
||||
},
|
||||
]
|
||||
|
||||
const currentComponentList: MenuItem[] = [
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ import { Login } from "./types"
|
||||
|
||||
const BASE_PATH =
|
||||
process.env.NEXT_PUBLIC_ENV === "production"
|
||||
? "https://label.cowarobot.com"
|
||||
? "https://label.soft.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