diff options
Diffstat (limited to 'src/invidious.cr')
| -rw-r--r-- | src/invidious.cr | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/invidious.cr b/src/invidious.cr index a6b23504..b82567ef 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -33,11 +33,11 @@ HMAC_KEY = CONFIG.hmac_key || Random::Secure.hex(32) PG_URL = URI.new( scheme: "postgres", - user: CONFIG.db[:user], - password: CONFIG.db[:password], - host: CONFIG.db[:host], - port: CONFIG.db[:port], - path: CONFIG.db[:dbname], + user: CONFIG.db.user, + password: CONFIG.db.password, + host: CONFIG.db.host, + port: CONFIG.db.port, + path: CONFIG.db.dbname, ) PG_DB = DB.open PG_URL |
