김대철

CHORE: 추천 API 결과값 전달 send로 변경

......@@ -278,7 +278,7 @@ router.get("/recommend", function (req, res) {
console.log(err);
} else if (row.length > 0) {
console.log(row);
res.render("map", { user: req.session.user, row: row });
res.send(row);
}
});
}
......
......@@ -137,7 +137,8 @@
>
</li>
<li class="nav-item active">
<a class="nav-link" style="color: #ffffff" href="/recommend">Recommend
<a class="nav-link" style="color: #ffffff" href="/recommend"
>Recommend
<span class="sr-only">(current)</span>
</a>
</li>
......