2
This commit is contained in:
@@ -2,6 +2,11 @@ import mongoose from 'mongoose'
|
||||
|
||||
import { mongoUrl } from './const'
|
||||
|
||||
console.log('=======================================================')
|
||||
console.log('mongoUrl2', mongoUrl)
|
||||
console.log('=======================================================')
|
||||
|
||||
|
||||
mongoose.connect(`${mongoUrl}`).then(() => {
|
||||
console.log('Подключение к MongoDB успешно')
|
||||
}).catch((err) => {
|
||||
|
||||
Reference in New Issue
Block a user