Added default entries for branding
This commit is contained in:
		
							parent
							
								
									d3407351af
								
							
						
					
					
						commit
						572c908894
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -48,6 +48,11 @@ func setDefaults() {
 | 
			
		|||
	viper.SetDefault("processing.oleurl", "http://localhost:5000")
 | 
			
		||||
	viper.SetDefault("store.path", "./storage/files/")
 | 
			
		||||
	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 {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue