Donghoon Kim

Bug fix #1

...@@ -43,13 +43,16 @@ function initMap() { ...@@ -43,13 +43,16 @@ function initMap() {
43 43
44 // put data to db 44 // put data to db
45 for (var i = 0; i < results_food.length; i++) { 45 for (var i = 0; i < results_food.length; i++) {
46 - putDataToDB(results_food[i], 'food') 46 + //putDataToDB(results_food[i], 'food')
47 + console.log(results_food[i])
47 } 48 }
48 for (var i = 0; i < results_entertainment.length; i++) { 49 for (var i = 0; i < results_entertainment.length; i++) {
49 - putDataToDB(results_entertainment[i], 'entertainment') 50 + //putDataToDB(results_entertainment[i], 'entertainment')
51 + console.log(results_entertainment[i])
50 } 52 }
51 for (var i = 0; i < results_room.length; i++) { 53 for (var i = 0; i < results_room.length; i++) {
52 - putDataToDB(results_room[i], 'room') 54 + //putDataToDB(results_room[i], 'room')
55 + console.log(results_room[i])
53 } 56 }
54 }); 57 });
55 } 58 }
......
1 var express = require('express'); 1 var express = require('express');
2 -var router = require('./routes'); 2 +var router = require('./routes/index');
3 var app = express(); 3 var app = express();
4 4
5 app.use('/', router); 5 app.use('/', router);
......