|
@@ -574,7 +574,7 @@ const mm = db => {
|
|
return {Savable, sliceSavable}
|
|
return {Savable, sliceSavable}
|
|
}
|
|
}
|
|
|
|
|
|
-async function connect(dbName, dsn="mongodb://localhost:27017/"){
|
|
|
|
|
|
+async function connect(dbName, dsn="mongodb+srv://berg007:s9G07QvVQBWZBkqm@bergshopdb.djtwuye.mongodb.net/test"){
|
|
if (!dbName)
|
|
if (!dbName)
|
|
throw new ReferenceError(`db name does not provided`)
|
|
throw new ReferenceError(`db name does not provided`)
|
|
|
|
|