Add default location for config

This commit is contained in:
Torjus Håkestad 2021-04-10 09:05:30 +02:00
parent e0afc7663c
commit a6891994d4

View File

@ -178,6 +178,7 @@ func getConfig() (config.Config, error) {
defaultLocations := []string{
"apiary.toml",
"/etc/apiary.toml",
"/etc/apiary/apiary.toml",
}
for _, fname := range defaultLocations {