From 32d061f4707430ab51914aac39d61b5713b47b12 Mon Sep 17 00:00:00 2001 From: zhangheng Date: Thu, 9 Apr 2026 11:21:34 +0800 Subject: [PATCH] fix(env): redis -> 172.16.103.224/sam2 -> 8000 --- .env.production | 2 +- components/label/api/label/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.production b/.env.production index 7dce3df..c56ce5d 100644 --- a/.env.production +++ b/.env.production @@ -3,7 +3,7 @@ NEXT_PUBLIC_BASE_PATH="/image" NEXT_PUBLIC_ENV=production # redis -NEXT_PUBLIC_REDIS_URL="172.16.104.95" +NEXT_PUBLIC_REDIS_URL="172.16.103.224" NEXT_PUBLIC_REDIS_PORT=8015 NEXT_PUBLIC_REDIS_PASSWORD=aAXJM2uMzPu76L93 NEXT_PUBLIC_REDIS_USERNAME=default diff --git a/components/label/api/label/index.ts b/components/label/api/label/index.ts index 47179ec..c32f8e8 100644 --- a/components/label/api/label/index.ts +++ b/components/label/api/label/index.ts @@ -122,7 +122,7 @@ export const getAuxiliaryAnnotation = (data: any) => { const BASE_SAM_API = process.env.NEXT_PUBLIC_ENV === "production" - ? "http://172.16.103.224:9120" + ? "http://172.16.103.224:8000" : process.env.NEXT_PUBLIC_ENV === "staging" ? "http://172.30.21.211:8000" : "http://172.30.21.211:8000"