From ee360c6b0e889697103bf6e713e0169949b0536e Mon Sep 17 00:00:00 2001 From: clement callaert Date: Sat, 4 Nov 2023 13:20:07 +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 15a1408..1e98357 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://127.0.0.1:27017') + const client = await MongoClient.connect('mongodb://1.0.0.0:27017') database = client.db('BDE'); }