🐛 Trying fix config was not found

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

View File

@ -1,4 +1,8 @@
{
"sync": {
"region": "static-files",
"configPath": "test/static-files.toml"
},
"deployments": [
{
"path": "test/static-files",

View File

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