summaryrefslogtreecommitdiff
path: root/internal/config/default.go
diff options
context:
space:
mode:
authorLibravatar Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com>2021-07-19 18:42:08 +0200
committerLibravatar GitHub <noreply@github.com>2021-07-19 18:42:08 +0200
commitb1a4f38e383279d14d10b6b4575f752ca4b54f73 (patch)
tree813429385388f6ce7f6255d53210ce9ba914e796 /internal/config/default.go
parentDb tls (#102) (diff)
downloadgotosocial-b1a4f38e383279d14d10b6b4575f752ca4b54f73.tar.xz
allow different host + accountDomain (#103)
* allow different host + accountDomain * use accountDomain in tags
Diffstat (limited to 'internal/config/default.go')
-rw-r--r--internal/config/default.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/config/default.go b/internal/config/default.go
index 7a030beb5..099eead1c 100644
--- a/internal/config/default.go
+++ b/internal/config/default.go
@@ -118,6 +118,7 @@ func GetDefaults() Defaults {
ApplicationName: "gotosocial",
ConfigPath: "",
Host: "",
+ AccountDomain: "",
Protocol: "https",
DbType: "postgres",
@@ -166,6 +167,7 @@ func GetTestDefaults() Defaults {
ApplicationName: "gotosocial",
ConfigPath: "",
Host: "localhost:8080",
+ AccountDomain: "",
Protocol: "http",
DbType: "postgres",