Modification de la configuration de connexion à la base de données pour passer en mode production

This commit is contained in:
2025-02-11 18:19:02 +01:00
parent 3f34fdeef3
commit 83b7f14778

2
db.js
View File

@@ -1,6 +1,6 @@
const { Client } = require('pg');
const local = true;
const local = false;
// Connexion à la base de données PostgreSQL
const client = new Client({
host: local ? 'mikoshi' : '172.30.0.2',