mirror of
https://gitlab.silvrtree.co.uk/martind2000/obrand-admin-server.git
synced 2025-01-11 08:45:08 +00:00
22 lines
270 B
JavaScript
22 lines
270 B
JavaScript
|
'uses strict';
|
||
|
/**
|
||
|
*
|
||
|
* User: Martin Donnelly
|
||
|
* Date: 2016-03-11
|
||
|
* Time: 10:22
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
var pgp = require('pg-promise')();
|
||
|
|
||
|
var cn = {
|
||
|
host: 'localhost',
|
||
|
port: 5432,
|
||
|
database: 'oBrand',
|
||
|
user: 'obrand',
|
||
|
password: 'obrand'
|
||
|
};
|
||
|
|
||
|
exports.dbConnection = pgp(cn);
|
||
|
|