updated production settings
This commit is contained in:
parent
1cabf0e836
commit
3d3ea9902e
@ -1,4 +1,4 @@
|
|||||||
module.exports.name = 'production';
|
module.exports.name = 'production';
|
||||||
module.exports.postgres = {user: 'publicuser', host: '10.211.14.63', port: 6543};
|
module.exports.postgres = {user: 'publicuser', host: '127.0.0.1', port: 6432};
|
||||||
module.exports.redis = {host: '10.211.14.63', port: 6379};
|
module.exports.redis = {host: '127.0.0.1', port: 6379};
|
||||||
module.exports.windshaft_port = 8080;
|
module.exports.windshaft_port = 8181;
|
@ -89,7 +89,7 @@ module.exports = function() {
|
|||||||
function(){
|
function(){
|
||||||
that.getDatabase(req, this);
|
that.getDatabase(req, this);
|
||||||
},
|
},
|
||||||
function(err, data){
|
function(err, data) {
|
||||||
if (err) throw err;
|
if (err) throw err;
|
||||||
var redisKey = _.template(that.table_key, {database_name: data, table_name: req.params.table});
|
var redisKey = _.template(that.table_key, {database_name: data, table_name: req.params.table});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user