From 327d3f001f1cc219c4a718edf23b976c29c19487 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Fri, 3 Jun 2022 15:40:38 +0200 Subject: [feature] Start adding advanced configuration options, starting with `samesite` (#628) * fix incorrect port being used for db * start adding advanced config flags * use samesite lax by default --- internal/db/bundb/bundb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/db') diff --git a/internal/db/bundb/bundb.go b/internal/db/bundb/bundb.go index fef62a55f..6328ca34f 100644 --- a/internal/db/bundb/bundb.go +++ b/internal/db/bundb/bundb.go @@ -348,7 +348,7 @@ func deriveBunDBPGOptions() (*pgx.ConnConfig, error) { if address != "" { cfg.Host = address } - if port := config.GetPort(); port > 0 { + if port := config.GetDbPort(); port > 0 { cfg.Port = uint16(port) } if u := config.GetDbUser(); u != "" { -- cgit v1.2.3