From 38d4babf30954d66e97a0fb81322e5dd9c26a894 Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong(cubxxw-openim)" <3293172751nss@gmail.com> Date: Tue, 22 Aug 2023 16:02:12 +0800 Subject: [PATCH] fix: Add some optimizations Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com> --- .env | 2 +- config/config.yaml | 4 ++-- scripts/install/environment.sh | 2 +- scripts/install/install.sh | 3 ++- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.env b/.env index 2affa3c34..b72096696 100644 --- a/.env +++ b/.env @@ -15,5 +15,5 @@ USER=root PASSWORD=openIM123 MINIO_ENDPOINT=http://14.155.127.181:10005 -API_URL=http://14.155.127.181:10002/object/ +API_URL=http://14.155.127.181:10002 DATA_DIR=/root/workspaces/openim/openim-server diff --git a/config/config.yaml b/config/config.yaml index 8e88e5019..942f3b7b7 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -132,7 +132,7 @@ api: # minio.signEndpoint is minio public network address object: enable: "minio" - apiURL: "http://127.0.0.1:10002/object/" + apiURL: "http://127.0.0.1:10002" minio: bucket: "openim" endpoint: "http://14.155.127.181:10005" @@ -232,7 +232,7 @@ push: channelID: "" channelName: "" fcm: - serviceAccount: x.json + serviceAccount: "x.json" jpns: appKey: masterSecret: diff --git a/scripts/install/environment.sh b/scripts/install/environment.sh index adcecb78e..ade26b262 100755 --- a/scripts/install/environment.sh +++ b/scripts/install/environment.sh @@ -36,7 +36,7 @@ function def() { } # app要能访问到此ip和端口或域名 -def "API_URL" "http://${IP}:10002/object/" +def "API_URL" "http://${IP}:10002" def "DATA_DIR" "${OPENIM_ROOT}" # 设置统一的用户名,方便记忆 diff --git a/scripts/install/install.sh b/scripts/install/install.sh index d38898663..6c891d4f2 100755 --- a/scripts/install/install.sh +++ b/scripts/install/install.sh @@ -16,7 +16,8 @@ # OpenIM Server Installation Script # # Description: -# This script is designed to handle the installation, uninstallation, and +# This script is designed to handle the installation, Is a deployment solution +# that uses the Linux systen extension. uninstallation, and # status checking of OpenIM components on the server. OpenIM is a presumed # communication or messaging platform based on the context. #