Merge branch 'zh' into 'main'
fix(env): url See merge request prism/lable/labelimage!3
This commit is contained in:
@@ -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
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user