const utils = require('./utils'), fsx = require('fs-extra'), pg = require('pg'); const settings = utils.readSettings('.'); Object.assign(exports, { settings: settings, changelog: fsx.readFileSync('CHANGELOG.md', 'utf-8'), 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. No data is permanently stored.", onclick: 'acceptCookies()', id: 'cookie-container', button: 'All right!' } });