From 0ecc7f73c0a7eebd03730a586b5bbba3a4cc0c0a Mon Sep 17 00:00:00 2001 From: Ivan Date: Fri, 4 Aug 2023 12:52:44 +0300 Subject: [PATCH] fix db --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 8310d22..83b2a45 100644 --- a/server.js +++ b/server.js @@ -42,7 +42,7 @@ app.get("/devices/update", update); const DB_User = "postgres"; const DB_Password = process.env.POSTGRES_PASSWORD; -const DB_Host = "localhost"; +const DB_Host = "postgres"; const DB_Port = "5432"; const DB_Name = "postgres";