diff --git a/mdot/mdot_server/mdot_server/lib/server/db-connector.js b/mdot/mdot_server/mdot_server/lib/server/db-connector.js index ebd300e..3184e50 100644 --- a/mdot/mdot_server/mdot_server/lib/server/db-connector.js +++ b/mdot/mdot_server/mdot_server/lib/server/db-connector.js @@ -9,16 +9,17 @@ var pgp = require('pg-promise')(); -/*var cn = { +var cn = { host: 'localhost', port: 5432, database: 'mdot', user: 'postgres', password: '' -};*/ +}; // ElephantSql settings +/* var cn = { host: 'jumbo.db.elephantsql.com', port: 5432, @@ -26,6 +27,7 @@ var cn = { user: 'amlrxqev', password: 'K11cvCplk0--oNafsYj4ISN-rVQmVS3y' }; +*/ exports.dbConnection = pgp(cn);