diff options
author | 2021-07-19 18:42:08 +0200 | |
---|---|---|
committer | 2021-07-19 18:42:08 +0200 | |
commit | b1a4f38e383279d14d10b6b4575f752ca4b54f73 (patch) | |
tree | 813429385388f6ce7f6255d53210ce9ba914e796 /cmd | |
parent | Db tls (#102) (diff) | |
download | gotosocial-b1a4f38e383279d14d10b6b4575f752ca4b54f73.tar.xz |
allow different host + accountDomain (#103)
* allow different host + accountDomain
* use accountDomain in tags
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/gotosocial/main.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cmd/gotosocial/main.go b/cmd/gotosocial/main.go index fde83e623..e8bc793bd 100644 --- a/cmd/gotosocial/main.go +++ b/cmd/gotosocial/main.go @@ -69,11 +69,17 @@ func main() { }, &cli.StringFlag{ Name: flagNames.Host, - Usage: "Hostname to use for the server (eg., example.org, gotosocial.whatever.com)", + Usage: "Hostname to use for the server (eg., example.org, gotosocial.whatever.com). DO NOT change this on a server that's already run!", Value: defaults.Host, EnvVars: []string{envNames.Host}, }, &cli.StringFlag{ + Name: flagNames.AccountDomain, + Usage: "Domain to use in account names (eg., example.org, whatever.com). If not set, will default to the setting for host. DO NOT change this on a server that's already run!", + Value: defaults.AccountDomain, + EnvVars: []string{envNames.AccountDomain}, + }, + &cli.StringFlag{ Name: flagNames.Protocol, Usage: "Protocol to use for the REST api of the server (only use http for debugging and tests!)", Value: defaults.Protocol, |