Skip to content

Commit

Permalink
fix config default for first run
Browse files Browse the repository at this point in the history
  • Loading branch information
altitude committed Jul 22, 2021
1 parent 1fa8821 commit 3265f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func Init() {
viper.SetDefault("storage.sqlite.db_name", "numary")
viper.SetDefault("storage.postgres.conn_string", "postgresql://localhost/postgres")
viper.SetDefault("server.http.bind_address", "localhost:3068")
viper.SetDefault("ledgers", []string{"quickstart"})
viper.SetDefault("ledgers", []interface{}{"quickstart"})

viper.SetConfigName("numary")
viper.SetConfigType("yaml")
Expand Down

0 comments on commit 3265f68

Please sign in to comment.