Passage DB en Prod

This commit is contained in:
2025-02-11 22:53:05 +01:00
parent bd9a9b70a1
commit efaa49912e

2
db.js
View File

@@ -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',