From b7d86ef4039b1f45bd4418eab88e0bb0414fc804 Mon Sep 17 00:00:00 2001 From: clement callaert Date: Sat, 4 Nov 2023 13:21:51 +0100 Subject: [PATCH] video --- data/database.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/database.js b/data/database.js index 1e98357..6cc94eb 100644 --- a/data/database.js +++ b/data/database.js @@ -5,7 +5,7 @@ const MongoClient = mongodb.MongoClient; let database; async function connectToDatabase() { - const client = await MongoClient.connect('mongodb://1.0.0.0:27017') + const client = await MongoClient.connect('mongodb://0.0.0.0:27017') database = client.db('BDE'); }