This commit is contained in:
2025-11-04 22:39:29 +03:00
parent c4664edd7e
commit 41b5cb6fae
6 changed files with 408 additions and 1 deletions

View File

@@ -9,3 +9,8 @@ mongoose.connect(mongoUrl).then(() => {
console.error(err)
})
export default mongoose
// Для совместимости с CommonJS
module.exports = mongoose
module.exports.default = mongoose