Migration de la fonction de création de vidéo vers un nouveau module et suppression de l'ancienne implémentation

This commit is contained in:
2025-02-11 19:26:42 +01:00
parent 66d51f24d9
commit f56c35c5f9
5 changed files with 56 additions and 32 deletions

2
db.js
View File

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