1
0
Fork 0

Fix DB credentials

This commit is contained in:
Alex Kotov 2023-03-25 01:31:53 +04:00
parent 20f65649fa
commit 813ed52c7c
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 2 additions and 2 deletions

View File

@ -8,10 +8,10 @@ require 'sinatra/json'
$DB_POOL = ConnectionPool.new size: 5, timeout: 5 do
PG.connect(
host: 'pg.causa-arcana.com',
host: 'localhost',
dbname: 'leqsikoni',
user: 'leqsikoni',
password: 'ggeucene3ou7mqh2upehhm52tfp5bkcj',
password: 'password',
).tap do |conn|
conn.type_map_for_results = PG::BasicTypeMapForResults.new conn
end