fix(gts): template the landing-page-user config
This commit is contained in:
parent
da62c220b6
commit
55b53c78e5
3 changed files with 3 additions and 2 deletions
2
config
2
config
|
@ -1 +1 @@
|
||||||
Subproject commit 3d98dde30afe04341c823309775c8248ac637d7e
|
Subproject commit 5ae33ebee3d4b434a8ab58b650791ab8311f629f
|
|
@ -73,6 +73,7 @@ type gotosocialConfig struct {
|
||||||
DataContainerDirectory string `json:"dataContainerDirectory"`
|
DataContainerDirectory string `json:"dataContainerDirectory"`
|
||||||
AccountsRegistrationOpen bool `json:"accountsRegistrationOpen"`
|
AccountsRegistrationOpen bool `json:"accountsRegistrationOpen"`
|
||||||
AccountsAllowCustomCss bool `json:"accountsAllowCustomCss"`
|
AccountsAllowCustomCss bool `json:"accountsAllowCustomCss"`
|
||||||
|
LandingPageUser string `json:"landingPageUser"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type woodpeckerConfig struct {
|
type woodpeckerConfig struct {
|
||||||
|
|
|
@ -43,7 +43,7 @@ application-name: "{{ .GoToSocial.Name }}"
|
||||||
# String. The user that will be shown instead of the landing page. if no user is set, the landing page will be shown.
|
# String. The user that will be shown instead of the landing page. if no user is set, the landing page will be shown.
|
||||||
# Examples: "admin"
|
# Examples: "admin"
|
||||||
# Default: ""
|
# Default: ""
|
||||||
landing-page-user: "dan"
|
landing-page-user: "{{ .GoToSocial.LandingPageUser }}"
|
||||||
|
|
||||||
# String. Hostname that this server will be reachable at. Defaults to localhost for local testing,
|
# String. Hostname that this server will be reachable at. Defaults to localhost for local testing,
|
||||||
# but you should *definitely* change this when running for real, or your server won't work at all.
|
# but you should *definitely* change this when running for real, or your server won't work at all.
|
||||||
|
|
Loading…
Reference in a new issue