video
This commit is contained in:
parent
ee360c6b0e
commit
b7d86ef403
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue