Showing
2 changed files
with
3 additions
and
2 deletions
... | @@ -278,7 +278,7 @@ router.get("/recommend", function (req, res) { | ... | @@ -278,7 +278,7 @@ router.get("/recommend", function (req, res) { |
278 | console.log(err); | 278 | console.log(err); |
279 | } else if (row.length > 0) { | 279 | } else if (row.length > 0) { |
280 | console.log(row); | 280 | console.log(row); |
281 | - res.render("map", { user: req.session.user, row: row }); | 281 | + res.send(row); |
282 | } | 282 | } |
283 | }); | 283 | }); |
284 | } | 284 | } | ... | ... |
... | @@ -137,7 +137,8 @@ | ... | @@ -137,7 +137,8 @@ |
137 | > | 137 | > |
138 | </li> | 138 | </li> |
139 | <li class="nav-item active"> | 139 | <li class="nav-item active"> |
140 | - <a class="nav-link" style="color: #ffffff" href="/recommend">Recommend | 140 | + <a class="nav-link" style="color: #ffffff" href="/recommend" |
141 | + >Recommend | ||
141 | <span class="sr-only">(current)</span> | 142 | <span class="sr-only">(current)</span> |
142 | </a> | 143 | </a> |
143 | </li> | 144 | </li> | ... | ... |
-
Please register or login to post a comment