Skip to content

Commit a04c6d5

Browse files
committed
correction
1 parent 9060621 commit a04c6d5

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

db/pg_index.js

+11-2
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,20 @@ const { PASS, EC2 } = require('../config.js');
1010
// max: 95
1111
// });
1212

13+
// const pool = new pg.Pool({
14+
// user: 'ubuntu',
15+
// host: '',
16+
// database: 'postgres',
17+
// password: EC2,
18+
// port: 5432,
19+
// max: 95
20+
// });
21+
1322
const pool = new pg.Pool({
1423
user: 'ubuntu',
15-
host: 'ec2-18-188-32-215.us-east-2.compute.amazonaws.com',
24+
host: 'ip-172-31-13-249.us-east-2.compute.internal',
1625
database: 'postgres',
17-
password: EC2,
26+
password: 'ubuntu',
1827
port: 5432,
1928
max: 95
2029
});

0 commit comments

Comments
 (0)