김서연

add

Showing 1 changed file with 4 additions and 1 deletions
...@@ -37,7 +37,7 @@ app.post('/',function(req,res,next){ ...@@ -37,7 +37,7 @@ app.post('/',function(req,res,next){
37 37
38 // console.log(searchList); 38 // console.log(searchList);
39 //result라는 변수에 담아 결과 보내기 39 //result라는 변수에 담아 결과 보내기
40 - res.render('main', {result:searchList, map:map }); 40 + res.render('main', {result:searchList });
41 }) 41 })
42 42
43 }) 43 })
...@@ -51,3 +51,6 @@ app.get('/',function(req,res){ ...@@ -51,3 +51,6 @@ app.get('/',function(req,res){
51 res.render('main'); 51 res.render('main');
52 }) 52 })
53 53
54 +app.get('/map',function(req,res){
55 + res.resnder('./map/map.html');
56 +})
......