From 4c9b03ae4fc1eae05150e3d707eacdc90acc775e Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong(cubxxw-openim)" <3293172751nss@gmail.com> Date: Tue, 22 Aug 2023 21:00:59 +0800 Subject: [PATCH] feat: delele go work sum Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com> --- .gitignore | 3 ++- tools/component/component.go | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 3dbda8d0a..97d62f5fe 100644 --- a/.gitignore +++ b/.gitignore @@ -31,9 +31,10 @@ output/ _output/ ### OpenIM Config ### +config/config.yaml ./config/config.yaml .env - +./.env ### OpenIM deploy ### deploy/openim_demo diff --git a/tools/component/component.go b/tools/component/component.go index 5980e581f..295ac44b1 100644 --- a/tools/component/component.go +++ b/tools/component/component.go @@ -203,8 +203,8 @@ func checkMinio() error { return ErrComponentStart.Wrap("Minio server is offline") } } - if exactIP(config.Config.Object.ApiURL) == "127.0.0.1" || exactIP(config.Config.Object.Minio.Endpoint) == "127.0.0.1" { - return ErrConfig.Wrap("apiURL or Minio endpoint contain 127.0.0.1.") + if exactIP(config.Config.Object.ApiURL) == "127.0.0.1" || exactIP(config.Config.Object.Minio.SignEndpoint) == "127.0.0.1" { + return ErrConfig.Wrap("apiURL or Minio SignEndpoint endpoint contain 127.0.0.1.") } } return nil