url 타입 변경

This commit is contained in:
2024-07-20 12:26:51 +09:00
parent dbd22fe285
commit bdae4eeb48
2 changed files with 20 additions and 13 deletions

View File

@ -469,7 +469,9 @@ func (mg *Maingate) RegisterHandlers(ctx context.Context, serveMux *http.ServeMu
State: DivisionState_FullOpen,
},
Url: fmt.Sprintf("http://%s:%d/warehouse", ipaddr, *portptr),
Urls: bson.M{
"warehouse": fmt.Sprintf("http://%s:%d/warehouse", ipaddr, *portptr),
},
},
}
}