fix db
This commit is contained in:
parent
4f34433d6b
commit
a97136c99d
20
server.js
20
server.js
@ -37,17 +37,17 @@ app.get("/devices", devices);
|
|||||||
app.get("/devices/drivers", drivers);
|
app.get("/devices/drivers", drivers);
|
||||||
app.get("/devices/update", update);
|
app.get("/devices/update", update);
|
||||||
|
|
||||||
const DB_User = process.env.DB_USER;
|
// const DB_User = process.env.DB_USER;
|
||||||
const DB_Password = process.env.DB_PASSWORD;
|
// const DB_Password = process.env.DB_PASSWORD;
|
||||||
const DB_Host = process.env.DB_HOST;
|
// const DB_Host = process.env.DB_HOST;
|
||||||
const DB_Port = process.env.DB_PORT;
|
// const DB_Port = process.env.DB_PORT;
|
||||||
const DB_Name = process.env.DB_NAME;
|
// const DB_Name = process.env.DB_NAME;
|
||||||
|
|
||||||
// const DB_User = "postgres";
|
const DB_User = "postgres";
|
||||||
// const DB_Password = "password";
|
const DB_Password = "password";
|
||||||
// const DB_Host = "postgres";
|
const DB_Host = "postgres";
|
||||||
// const DB_Port = "5432";
|
const DB_Port = "5432";
|
||||||
// const DB_Name = "postgres";
|
const DB_Name = "postgres";
|
||||||
|
|
||||||
async function index(req, res) {
|
async function index(req, res) {
|
||||||
var templateData = {
|
var templateData = {
|
||||||
|
Loading…
Reference in New Issue
Block a user