mongo hostname
This commit is contained in:
parent
20ec2747ae
commit
8d265879d2
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
const MongoClient = require('mongodb').MongoClient;
|
||||
const url = 'mongodb://localhost:27017';
|
||||
const url = 'mongodb://mongo:27017';
|
||||
const dbName = 'workshopDatabase';
|
||||
const COLLECTION_NAME = "workshops"
|
||||
let db;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue