Donghoon Kim

Bug fix #1

......@@ -43,13 +43,16 @@ function initMap() {
// put data to db
for (var i = 0; i < results_food.length; i++) {
putDataToDB(results_food[i], 'food')
//putDataToDB(results_food[i], 'food')
console.log(results_food[i])
}
for (var i = 0; i < results_entertainment.length; i++) {
putDataToDB(results_entertainment[i], 'entertainment')
//putDataToDB(results_entertainment[i], 'entertainment')
console.log(results_entertainment[i])
}
for (var i = 0; i < results_room.length; i++) {
putDataToDB(results_room[i], 'room')
//putDataToDB(results_room[i], 'room')
console.log(results_room[i])
}
});
}
......
var express = require('express');
var router = require('./routes');
var router = require('./routes/index');
var app = express();
app.use('/', router);
......