Skip to content

Commit 3265f68

Browse files
committed
fix config default for first run
1 parent 1fa8821 commit 3265f68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ func Init() {
2323
viper.SetDefault("storage.sqlite.db_name", "numary")
2424
viper.SetDefault("storage.postgres.conn_string", "postgresql://localhost/postgres")
2525
viper.SetDefault("server.http.bind_address", "localhost:3068")
26-
viper.SetDefault("ledgers", []string{"quickstart"})
26+
viper.SetDefault("ledgers", []interface{}{"quickstart"})
2727

2828
viper.SetConfigName("numary")
2929
viper.SetConfigType("yaml")

0 commit comments

Comments
 (0)