diff options
| author | 2025-06-24 12:32:52 +0200 | |
|---|---|---|
| committer | 2025-06-24 12:32:52 +0200 | |
| commit | 9d5af6c3dc3f502e21f1dcf305cc0306c9bfc9fe (patch) | |
| tree | 045545b6a7d62bf0731eb55e8d4f4e810df2c7e4 /internal | |
| parent | [chore] Add info and reminder to save changes at the top of profile settings ... (diff) | |
| download | gotosocial-9d5af6c3dc3f502e21f1dcf305cc0306c9bfc9fe.tar.xz | |
[bugfix] update the default configuration to not set a db type or address, to require explicitly setting it (#4228)
This updates the database defaults to remove a type or address. This is to help ensure we don't have any repeats of https://codeberg.org/superseriousbusiness/gotosocial/issues/4183, it means the user needs to explicitly configure these things core settings instead of relying on defaults.
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4228
Reviewed-by: Daenney <daenney@noreply.codeberg.org>
Co-authored-by: kim <grufwub@gmail.com>
Co-committed-by: kim <grufwub@gmail.com>
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/config/defaults.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/config/defaults.go b/internal/config/defaults.go index 6506e3e58..234f0f8d0 100644 --- a/internal/config/defaults.go +++ b/internal/config/defaults.go @@ -41,8 +41,8 @@ var Defaults = Configuration{ Port: 8080, TrustedProxies: []string{"127.0.0.1/32", "::1"}, // localhost - DbType: "sqlite", - DbAddress: "db.sqlite", + DbType: "", + DbAddress: "", DbPort: 5432, DbUser: "", DbPassword: "", |
