Add BaseURL config parameter

This commit is contained in:
2021-01-15 16:28:45 +01:00
parent be2febf0fe
commit 067569e0c3
6 changed files with 25 additions and 8 deletions

View File

@ -20,6 +20,7 @@ type HTTPConfig struct {
Address string `yaml:"address" env:"FAKESMS_HTTP_ADDRESS"`
TemplateDir string `yaml:"templateDir" env:"FAKESMS_HTTP_TEMPLATEDIR"`
PublicDir string `yaml:"publicDir" env:"FAKESMS_HTTP_PUBLICDIR"`
BaseURL string `yaml:"baseUrl" env:"FAKESMS_HTTP_BASEURL"`
}
type DataConfig struct {