fea/nhat-dat-11042026-merge #1

Closed
minhnhat wants to merge 27 commits from UKSOURCE/cms.hailearning.edu.vn:fea/nhat-dat-11042026-merge into fea/nhat-13042028-merge-kiet-thien
Showing only changes of commit a850bce422 - Show all commits

View File

@@ -287,7 +287,7 @@ exports.index = async (req, res) => {
data.floatingContact = normalizeFloatingContactData(data.floatingContact); data.floatingContact = normalizeFloatingContactData(data.floatingContact);
const frontendUrl = process.env.FRONTEND_URL || "http://localhost:3000"; const frontendUrl = process.env.FRONTEND_URL || "http://localhost:3000";
const backendUrl = `${req.protocol}://${req.get("host")}`; const backendUrl = process.env.BACKEND_URL || `${req.protocol}://${req.get("host")}`;
// Lấy tất cả blog để chọn trong CMS // Lấy tất cả blog để chọn trong CMS
const allBlogs = await Blog.find({ status: "published" }) const allBlogs = await Blog.find({ status: "published" })