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

No files matched your search

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