This commit is contained in:
익희 김 2024-12-10 15:07:10 +09:00
parent 7c5eb17d93
commit faf664d10d

View File

@ -26,7 +26,7 @@ const io = new Server(httpServer, {
// MongoDB 연결 // MongoDB 연결
mongoose mongoose
.connect('mongodb://siinand:Qlenfrl1199424%21@101.79.10.128:27017/admin?authSource=admin') .connect('mongodb://picshop:Qlenfrl1199424%21@101.79.10.128:27017/admin?authSource=admin')
.then(() => console.log('MongoDB connected successfully')) .then(() => console.log('MongoDB connected successfully'))
.catch((error) => console.error('Error connecting to MongoDB:', error)); .catch((error) => console.error('Error connecting to MongoDB:', error));