mirror of
				https://gitlab.crans.org/nounous/ghostream.git
				synced 2025-11-04 04:12:10 +01:00 
			
		
		
		
	Change default config path
This commit is contained in:
		@@ -73,7 +73,7 @@ func Load() (*Config, error) {
 | 
			
		||||
	// Create Configuro
 | 
			
		||||
	config, err := configuro.NewConfig(
 | 
			
		||||
		configuro.WithLoadFromEnvVars("GHOSTREAM"),
 | 
			
		||||
		configuro.WithLoadFromConfigFile("./ghostream.yml", false),
 | 
			
		||||
		configuro.WithLoadFromConfigFile("/etc/ghostream/ghostream.yml", false),
 | 
			
		||||
		configuro.WithEnvConfigPathOverload("GHOSTREAM_CONFIG"),
 | 
			
		||||
	)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user