This commit is contained in:
clement callaert 2023-11-04 13:20:07 +01:00
parent 5c813cb8d5
commit ee360c6b0e

View file

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