Merge branch 'zh' into 'main'

fix(env): url

See merge request prism/lable/labelimage!3
This commit is contained in:
刘耀勇
2026-04-02 15:34:53 +08:00
3 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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"

View File

@@ -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"