Added default entries for branding

This commit is contained in:
Johannes Bülow 2025-06-13 13:04:32 +02:00
parent d3407351af
commit 572c908894
Signed by: jmb
GPG key ID: B56971CF7B8F83A6

View file

@ -48,6 +48,11 @@ func setDefaults() {
viper.SetDefault("processing.oleurl", "http://localhost:5000") viper.SetDefault("processing.oleurl", "http://localhost:5000")
viper.SetDefault("store.path", "./storage/files/") viper.SetDefault("store.path", "./storage/files/")
viper.SetDefault("debug", false) viper.SetDefault("debug", false)
// UI Interface info
viper.SetDefault("ui.name", "Scanfile")
viper.SetDefault("ui.byurl", "https://www.jmbit.de")
viper.SetDefault("ui.byurl", "Johannes Bülow")
viper.SetDefault("ui.source", "https://git.jmbit.de/jmb/scanfile")
} }
func SaveConfig() error { func SaveConfig() error {