diff --git a/app/mix/cmd_offline/main.go b/app/mix/cmd_offline/main.go index 11a6ad56..e409a6a1 100644 --- a/app/mix/cmd_offline/main.go +++ b/app/mix/cmd_offline/main.go @@ -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)