mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2024-12-22 20:52:20 +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
|
// Create Configuro
|
||||||
config, err := configuro.NewConfig(
|
config, err := configuro.NewConfig(
|
||||||
configuro.WithLoadFromEnvVars("GHOSTREAM"),
|
configuro.WithLoadFromEnvVars("GHOSTREAM"),
|
||||||
configuro.WithLoadFromConfigFile("./ghostream.yml", false),
|
configuro.WithLoadFromConfigFile("/etc/ghostream/ghostream.yml", false),
|
||||||
configuro.WithEnvConfigPathOverload("GHOSTREAM_CONFIG"),
|
configuro.WithEnvConfigPathOverload("GHOSTREAM_CONFIG"),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user