diff --git a/.env.staging b/.env.staging index 0a566fd..4089fbf 100644 --- a/.env.staging +++ b/.env.staging @@ -4,7 +4,7 @@ NEXT_PUBLIC_BASE_PATH="" NEXT_PUBLIC_ENV=staging # redis -NEXT_PUBLIC_REDIS_URL="192.168.31.27" +NEXT_PUBLIC_REDIS_URL="172.16.112.128" NEXT_PUBLIC_REDIS_PORT=9765 NEXT_PUBLIC_REDIS_PASSWORD=password NEXT_PUBLIC_REDIS_USERNAME=default diff --git a/components/label/api/const.ts b/components/label/api/const.ts index 25355ce..178146b 100644 --- a/components/label/api/const.ts +++ b/components/label/api/const.ts @@ -1,4 +1,4 @@ export const BASE_LABEL_API = process.env.NEXT_PUBLIC_ENV === "production" ? "https://label.cowarobot.com" - : "https://label.softtest.cowarobot.com" + : "http://172.16.112.8:9110" diff --git a/components/login/api/index.ts b/components/login/api/index.ts index 4e32346..ed49bab 100644 --- a/components/login/api/index.ts +++ b/components/login/api/index.ts @@ -6,7 +6,7 @@ import { Login } from "./types" const BASE_PATH = process.env.NEXT_PUBLIC_ENV === "production" ? "https://basis.soft.cowarobot.com" - : "https://basis.softtest.cowarobot.com" + : "https://basis.softtest.cowarobot.cn" // 获取验证码 export const getVerifyCode = (params: { phone: string }) => {