mirror of
https://gitlab.silvrtree.co.uk/martind2000/obrand-admin-server.git
synced 2025-01-11 10:35:08 +00:00
40a8337ab3
Also now serving api/pages as a list page and viewer.
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);
|
|
|