mirror of https://github.com/Trivernis/whooshy.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
653 B
JavaScript
23 lines
653 B
JavaScript
const utils = require('./utils'),
|
|
pg = require('pg');
|
|
|
|
const settings = utils.readSettings('.');
|
|
|
|
Object.assign(exports, {
|
|
settings: settings,
|
|
pgPool: new pg.Pool({
|
|
host: settings.postgres.host,
|
|
port: settings.postgres.port,
|
|
user: settings.postgres.user,
|
|
password: settings.postgres.password,
|
|
database: settings.postgres.database
|
|
}),
|
|
cookieInfo: {
|
|
headline: 'This website uses cookies',
|
|
content: 'This website uses cookies to store your session data (like for bingo).',
|
|
onclick: 'acceptCookies()',
|
|
id: 'cookie-container',
|
|
button: 'All right!'
|
|
}
|
|
});
|