Add default location for config
This commit is contained in:
parent
e0afc7663c
commit
a6891994d4
@ -178,6 +178,7 @@ func getConfig() (config.Config, error) {
|
|||||||
defaultLocations := []string{
|
defaultLocations := []string{
|
||||||
"apiary.toml",
|
"apiary.toml",
|
||||||
"/etc/apiary.toml",
|
"/etc/apiary.toml",
|
||||||
|
"/etc/apiary/apiary.toml",
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, fname := range defaultLocations {
|
for _, fname := range defaultLocations {
|
||||||
|
Loading…
Reference in New Issue
Block a user