Serverside stuff. Mostly shuffling things around

This commit is contained in:
Melody Becker 2024-10-26 11:42:51 +02:00
parent 90667d96c7
commit be70109c43
20 changed files with 513 additions and 71 deletions

View file

@ -82,6 +82,11 @@ type ConfigMail struct {
TemplateOverwriteDirectory *string `toml:"template_overwrite_directory,omitempty"`
}
type ConfigSelf struct {
ServerActorDisplayName string `toml:"server_actor_display_name"`
ServerDisplayName string `toml:"server_display_name"`
}
type Config struct {
General ConfigGeneral `toml:"general"`
SSL ConfigSSL `toml:"ssl"`
@ -89,6 +94,7 @@ type Config struct {
Webauthn ConfigWebAuthn `toml:"webauthn"`
Storage ConfigStorage `toml:"storage"`
Mail ConfigMail `toml:"mail"`
Self ConfigSelf `toml:"self"`
}
var GlobalConfig Config