forked from UKSOURCE/cms.hailearning.edu.vn
add logs
This commit is contained in:
@@ -194,6 +194,9 @@ exports.api = async (req, res) => {
|
||||
const baseUrl =
|
||||
process.env.BACKEND_URL || `${req.protocol}://${req.get("host")}`;
|
||||
|
||||
console.log("[homeController.api] BACKEND_URL=", process.env.BACKEND_URL);
|
||||
console.log("[homeController.api] resolved baseUrl=", baseUrl);
|
||||
|
||||
// === Xử lý Blog Preview động ===
|
||||
const blogPreview = data.blogPreview || {};
|
||||
let blogs = [];
|
||||
|
||||
Reference in New Issue
Block a user