mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-24 05:01:26 +03:00
Перенес файлы в общую папку
This commit is contained in:
parent
b9a45b69b4
commit
7c835e145a
14 changed files with 7 additions and 9 deletions
|
@ -1,13 +0,0 @@
|
|||
const pg = require("pg");
|
||||
const config = require("../config/main.js")();
|
||||
|
||||
const pool = new pg.Pool({
|
||||
user: config['database']['user'],
|
||||
password: config['database']['password'],
|
||||
host: config['database']['host'],
|
||||
port: config['database']['port'],
|
||||
database: config['database']['name']
|
||||
});
|
||||
|
||||
|
||||
module.exports = pool;
|
Loading…
Add table
Reference in a new issue