1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 13:14:06 +01:00

🔊 fix log

This commit is contained in:
Flam3rboy 2021-07-18 19:49:03 +02:00
parent 33d4302e57
commit 89b5f6963a

View File

@ -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;