From 07ccb15c4db0403e0e1d5c68cd80b6ea870e9c92 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期五, 18 八月 2023 20:19:33 +0800
Subject: [PATCH] fix

---
 conf/config.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/conf/config.go b/conf/config.go
index 684b5f8..cd08007 100644
--- a/conf/config.go
+++ b/conf/config.go
@@ -132,7 +132,7 @@
 		Conf.GrpcServiceAddr.Admin = AdminGrpc
 	}
 
-	if len(DBHost) > 0 {
+	if len(DBName) > 0 {
 		Conf.GrpcServiceAddr.Aps = "http://" + DBName + ":9091"
 	}
 

--
Gitblit v1.8.0