포트 설정 버그 수정
This commit is contained in:
@ -115,7 +115,7 @@ func NewServer() HoustonServer {
|
||||
if bt, err := os.ReadFile("config.json"); err == nil {
|
||||
var config totalConfig
|
||||
if err := json.Unmarshal(bt, &config); err == nil {
|
||||
if config.Server.GrpcPort == 0 {
|
||||
if config.Server.GrpcPort != 0 {
|
||||
port = config.Server.GrpcPort
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user