This commit is contained in:
Ivan 2023-08-13 20:53:11 +03:00
parent e66ed2a17d
commit 1b5fa033f8
Signed by untrusted user who does not match committer: ppechenkoo
GPG Key ID: 0C191B86D9582583

View File

@ -32,17 +32,17 @@ app.get("/devices/drivers", drivers);
app.get("/devices/update", update);
const DB_User = process.env.DB_USER;
const DB_Password = process.env.DB_PASSWORD;
const DB_Host = process.env.DB_HOST;
const DB_Port = process.env.DB_PORT;
const DB_Name = process.env.DB_NAME;
// const DB_User = process.env.DB_USER;
// const DB_Password = process.env.DB_PASSWORD;
// const DB_Host = process.env.DB_HOST;
// const DB_Port = process.env.DB_PORT;
// const DB_Name = process.env.DB_NAME;
// const DB_User = "postgres";
// const DB_Password = process.env.POSTGRES_PASSWORD;
// const DB_Host = "postgres";
// const DB_Port = "5432";
// const DB_Name = "postgres";
const DB_User = "postgres";
const DB_Password = process.env.POSTGRES_PASSWORD;
const DB_Host = "postgres";
const DB_Port = "5432";
const DB_Name = "postgres";
async function index(req, res) {
var templateData = {