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