Eunsu486

modify category.js-add render funstion

...@@ -36,7 +36,9 @@ router.get('/hospital', function (req, res) { ...@@ -36,7 +36,9 @@ router.get('/hospital', function (req, res) {
36 hospitals.push(library); 36 hospitals.push(library);
37 } 37 }
38 } 38 }
39 - console.log([hospitals[1]]); 39 + console.log([hospitals);
40 + res.render('result', { category: 'hospital', userLocation: userLocation });
40 } 41 }
42 +
41 }) 43 })
42 }); 44 });
...\ No newline at end of file ...\ No newline at end of file
......