fix(env): fix

This commit is contained in:
zhangheng
2026-03-16 18:00:40 +08:00
parent c8b2311488
commit d0b4a9a760
3 changed files with 8 additions and 4 deletions

View File

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

View File

@@ -4,8 +4,10 @@ import { Login } from "./types"
const BASE_PATH =
process.env.NEXT_PUBLIC_ENV === "production"
? "https://label.soft.cowarobot.com"
: "https://label.softtest.cowarobot.com"
? "https://label.cowarobot.com"
: process.env.NEXT_PUBLIC_ENV === "staging"
? "https://label.softtest.cowarobot.com"
: "https://label.softtest.cowarobot.com"
// 获取验证码
export const getVerifyCode = (params: { phone: string }) => {