mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-07 11:48:06 -06:00
[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
This commit is contained in:
parent
265b680098
commit
327d3f001f
11 changed files with 135 additions and 18 deletions
|
|
@ -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 != "" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue