1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

chore: make aggregation time configurable (resolve #60)

This commit is contained in:
Ferdinand Mütsch
2020-10-16 16:21:13 +02:00
parent a4c344aaa1
commit 177cbb12fc
3 changed files with 3 additions and 2 deletions

View File

@@ -27,6 +27,7 @@ var (
type appConfig struct {
CleanUp bool `default:"false" env:"WAKAPI_CLEANUP"`
AggregationTime string `yaml:"aggregation_time" default:"02:15" env:"WAKAPI_AGGREGATION_TIME"`
CustomLanguages map[string]string `yaml:"custom_languages"`
LanguageColors map[string]string `yaml:"-"`
}