diff --git a/internals/app/main.go b/internals/app/main.go index b8e7533..4fb70a6 100644 --- a/internals/app/main.go +++ b/internals/app/main.go @@ -32,6 +32,7 @@ func NewServer(config cfg.Cfg, ctx context.Context) *Server { func (server *Server) Serve() { log.Println("Starting server...") + log.Println(os.Environ()) //! Debug сообщение var err error server.db, err = pgx.Connect(server.ctx, server.config.GetDBString()) @@ -71,8 +72,6 @@ func (server *Server) Serve() { log.Println("Server started") - log.Println(os.Environ()) //! Debug сообщение - err = server.srv.ListenAndServe() if err != nil { diff --git a/tests/config.yml b/tests/config.yml index d141c08..320d653 100644 --- a/tests/config.yml +++ b/tests/config.yml @@ -1,6 +1,6 @@ PORT: 8080 Database: - Host: "db" + Host: "HAHAHA" Name: "soloanvill" User: "soloanvill" Password: "password"