6 lines
120 B
JavaScript
6 lines
120 B
JavaScript
|
const mongoose = require('mongoose')
|
||
|
|
||
|
const { mongoUrl } = require('./const')
|
||
|
|
||
|
mongoose.connect(`${mongoUrl}/mongoose`)
|