mirror of
https://github.com/spacebarchat/server.git
synced 2024-09-22 02:31:36 +02:00
🔊 fix log
This commit is contained in:
parent
33d4302e57
commit
89b5f6963a
@ -13,7 +13,7 @@ const connection = mongoose.createConnection(uri, {
|
||||
useUnifiedTopology: true,
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user