This commit is contained in:
wangchuxiao
2022-12-14 16:14:12 +08:00
parent 0608649961
commit be8c544da3
3 changed files with 205 additions and 344 deletions
+1 -1
View File
@@ -232,7 +232,7 @@ func main() {
if config.Config.Api.ListenIP != "" {
address = config.Config.Api.ListenIP + ":" + strconv.Itoa(*ginPort)
}
fmt.Println("start api server, address: ", address, "OpenIM version: ", constant.CurrentVersion, "\n")
fmt.Println("start api server, address: ", address, "OpenIM version: ", constant.CurrentVersion)
err := r.Run(address)
if err != nil {
log.Error("", "api run failed ", address, err.Error())