Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| efaa49912e | |||
| bd9a9b70a1 |
2
db.js
2
db.js
@@ -1,6 +1,6 @@
|
|||||||
const { Client } = require('pg');
|
const { Client } = require('pg');
|
||||||
|
|
||||||
const local = true;
|
const local = false;
|
||||||
// Connexion à la base de données PostgreSQL
|
// Connexion à la base de données PostgreSQL
|
||||||
const client = new Client({
|
const client = new Client({
|
||||||
host: local ? 'mikoshi' : '172.30.0.2',
|
host: local ? 'mikoshi' : '172.30.0.2',
|
||||||
|
|||||||
Reference in New Issue
Block a user