From 7aad1eb8df20fa0c34de803a15ec622bf06d13c7 Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong(cubxxw)" <3293172751nss@gmail.com> Date: Tue, 12 Sep 2023 14:34:15 +0800 Subject: [PATCH] fix: fix env api url Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com> --- docker-compose.yml | 4 ++-- scripts/install/environment.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 05806427d..eaefbc47e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -127,8 +127,8 @@ services: ipv4_address: ${MINIO_NETWORK_ADDRESS} openim-web: - image: ghcr.io/openimsdk/openim-web:latest - # image: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-web:latest + # image: ghcr.io/openimsdk/openim-web:latest + image: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-web:latest # image: openim/openim-web:latest container_name: openim-web environment: diff --git a/scripts/install/environment.sh b/scripts/install/environment.sh index 080e95042..b17570be5 100755 --- a/scripts/install/environment.sh +++ b/scripts/install/environment.sh @@ -176,7 +176,7 @@ readonly API_URL=${API_URL:-"http://${IP}:${API_OPENIM_PORT}"} def "OBJECT_ENABLE" "minio" # 对象是否启用 # 对象的API地址 -readonly OBJECT_APIURL=${OBJECT_APIURL:-"http://${API_URL}"} +readonly OBJECT_APIURL=${OBJECT_APIURL:-"${API_URL}"} def "MINIO_BUCKET" "openim" # MinIO的存储桶名称 def "MINIO_PORT" "10005" # MinIO的端口 # MinIO的端点URL