mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2024-12-22 10:22:19 +00:00
Change default config path
This commit is contained in:
parent
407d565927
commit
293a75803e
@ -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"),
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user