Closed deepabhyudaya closed 2 hours ago
thank you, i will fixing it
Vào 19:42, CN, 17 Th11, 2024 Abhyudaya @.***> đã viết:
contact-server/connect.cjs
A generalized MongoDB url looks like this
@.*** :port/database?options...')
It's a good practice to use environment variables for database connection urls, as people with bad intentions could cause harm to your database once they have the access to it.
— Reply to this email directly, view it on GitHub https://github.com/LWG13/contact-server/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHH6HHC2TCWX7LYRMY7PEND2BCFLPAVCNFSM6AAAAABR54VIXGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGY3DKOBSGUYDAOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
A generalized MongoDB url looks like this
mongoose.connect('mongodb://username:password@host:port/database?options...')
It's a good practice to use environment variables for database connection urls, as people with bad intentions could cause harm to your database once they have the access to it.