diff --git a/.env.production b/.env.production index 63edf82..7dce3df 100644 --- a/.env.production +++ b/.env.production @@ -3,8 +3,8 @@ NEXT_PUBLIC_BASE_PATH="/image" NEXT_PUBLIC_ENV=production # redis -NEXT_PUBLIC_REDIS_URL="172.16.104.13" -NEXT_PUBLIC_REDIS_PORT=6379 -NEXT_PUBLIC_REDIS_PASSWORD=123456 +NEXT_PUBLIC_REDIS_URL="172.16.104.95" +NEXT_PUBLIC_REDIS_PORT=8015 +NEXT_PUBLIC_REDIS_PASSWORD=aAXJM2uMzPu76L93 NEXT_PUBLIC_REDIS_USERNAME=default NEXT_PUBLIC_REDIS_DB=10 \ No newline at end of file diff --git a/components/label/api/const.ts b/components/label/api/const.ts index 5e1fb07..85a96fa 100644 --- a/components/label/api/const.ts +++ b/components/label/api/const.ts @@ -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" diff --git a/components/login/api/index.ts b/components/login/api/index.ts index 2075b43..c3d63e8 100644 --- a/components/login/api/index.ts +++ b/components/login/api/index.ts @@ -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"