multy-stub/server/utils/mongoose.js

6 lines
120 B
JavaScript
Raw Normal View History

2024-10-16 11:06:23 +03:00
const mongoose = require('mongoose')
const { mongoUrl } = require('./const')
mongoose.connect(`${mongoUrl}/mongoose`)