mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 13:14:06 +01:00
🔊 fix log
This commit is contained in:
parent
33d4302e57
commit
89b5f6963a
@ -13,7 +13,7 @@ const connection = mongoose.createConnection(uri, {
|
|||||||
useUnifiedTopology: true,
|
useUnifiedTopology: true,
|
||||||
useFindAndModify: false,
|
useFindAndModify: false,
|
||||||
});
|
});
|
||||||
console.log(`[DB] connect: mongodb://${url.username}@${url.host}${url.pathname}${url.search}`);
|
console.log(`[Database] connect: mongodb://${url.username}@${url.host}${url.pathname}${url.search}`);
|
||||||
|
|
||||||
export default <Connection>connection;
|
export default <Connection>connection;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user