diff --git a/config/environments/production.js b/config/environments/production.js index 348db13d..88f417b8 100644 --- a/config/environments/production.js +++ b/config/environments/production.js @@ -1,4 +1,4 @@ module.exports.name = 'production'; -module.exports.postgres = {user: 'publicuser', host: '10.211.14.63', port: 6543}; -module.exports.redis = {host: '10.211.14.63', port: 6379}; -module.exports.windshaft_port = 8080; \ No newline at end of file +module.exports.postgres = {user: 'publicuser', host: '127.0.0.1', port: 6432}; +module.exports.redis = {host: '127.0.0.1', port: 6379}; +module.exports.windshaft_port = 8181; \ No newline at end of file diff --git a/lib/cartodb/carto_data.js b/lib/cartodb/carto_data.js index f4a3a34f..06dc2ce7 100644 --- a/lib/cartodb/carto_data.js +++ b/lib/cartodb/carto_data.js @@ -89,7 +89,7 @@ module.exports = function() { function(){ that.getDatabase(req, this); }, - function(err, data){ + function(err, data) { if (err) throw err; var redisKey = _.template(that.table_key, {database_name: data, table_name: req.params.table});