summaryrefslogtreecommitdiff
path: root/internal/config/default.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-09-20 16:46:45 +0200
committerLibravatar GitHub <noreply@github.com>2021-09-20 16:46:45 +0200
commitb315eee43b1e40a10ddf95786e516a4ac459510c (patch)
tree6338f12d50af8e7fdfe01c575b3b8425974da69e /internal/config/default.go
parentfederated authentication better logging + tidying (#232) (diff)
downloadgotosocial-b315eee43b1e40a10ddf95786e516a4ac459510c.tar.xz
Update webfingering a little, add tests (#236)
* Update webfingering a little, add tests * fix broken tests oops
Diffstat (limited to 'internal/config/default.go')
-rw-r--r--internal/config/default.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/config/default.go b/internal/config/default.go
index 79f0e4086..ad171a376 100644
--- a/internal/config/default.go
+++ b/internal/config/default.go
@@ -9,6 +9,7 @@ func TestDefault() *Config {
LogLevel: defaults.LogLevel,
ApplicationName: defaults.ApplicationName,
Host: defaults.Host,
+ AccountDomain: defaults.AccountDomain,
Protocol: defaults.Protocol,
Port: defaults.Port,
TrustedProxies: defaults.TrustedProxies,
@@ -204,7 +205,7 @@ func GetTestDefaults() Defaults {
ApplicationName: "gotosocial",
ConfigPath: "",
Host: "localhost:8080",
- AccountDomain: "",
+ AccountDomain: "localhost:8080",
Protocol: "http",
Port: 8080,
TrustedProxies: []string{"127.0.0.1/32"},