by Robin at 20240523
This commit is contained in:
parent
124dd84c83
commit
ffececc65a
|
@ -111,7 +111,7 @@ func main() {
|
|||
validator.InitDefaultNotNullValidator()
|
||||
controller.InitOffline(router)
|
||||
srv := &http.Server{
|
||||
Addr: fmt.Sprintf("%s:%d", GetIp(), cfg.App.Port),
|
||||
Addr: fmt.Sprintf("%s:%d", GetIp(), cfg.OfflineServer.App.Port),
|
||||
Handler: router,
|
||||
}
|
||||
httpserver.StartHttpServer(srv, cfg.OfflineServer)
|
||||
|
|
Loading…
Reference in New Issue