Sửa lỗi tạo docker

This commit is contained in:
2026-06-12 07:59:10 +07:00
parent d7556aa087
commit 377c4d41d8
13 changed files with 342 additions and 26 deletions
+4 -1
View File
@@ -1,9 +1,12 @@
const crypto = require('crypto');
// Đảm bảo crypto có sẵn toàn cục cho các thư viện cũ hoặc plugin mongoose
global.crypto = crypto;
const express = require('express');
const cors = require('cors');
const path = require('path');
const dotenv = require('dotenv');
const connectDB = require('./config/db');
// Cấu hình môi trường
dotenv.config();