allow different host + accountDomain

This commit is contained in:
tsmethurst 2021-07-19 18:36:00 +02:00
commit 82c26a73ee
6 changed files with 45 additions and 12 deletions

View file

@ -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",