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'); }