🐛 Trying fix config was not found

This commit is contained in:
2024-10-03 11:19:42 +08:00
parent 006a22cd7b
commit 8a5cc34bb4
2 changed files with 5 additions and 0 deletions

View File

@ -25,6 +25,7 @@ func main() {
// Configure settings
viper.AddConfigPath(".")
viper.AddConfigPath("..")
viper.AddConfigPath("/")
viper.SetConfigName("settings")
viper.SetConfigType("toml")