diff --git a/server.js b/server.js index 3f58b1e..8310d22 100644 --- a/server.js +++ b/server.js @@ -41,8 +41,8 @@ app.get("/devices/update", update); // const DB_Name = process.env.DB_NAME; const DB_User = "postgres"; -const DB_Password = "password"; -const DB_Host = "postgres"; +const DB_Password = process.env.POSTGRES_PASSWORD; +const DB_Host = "localhost"; const DB_Port = "5432"; const DB_Name = "postgres";