chore: fix viper default value

This commit is contained in:
Steven 2023-10-27 00:49:58 +08:00
parent 215981dfde
commit 59f0ee862d

View file

@ -147,7 +147,7 @@ func init() {
viper.SetDefault("driver", "sqlite")
viper.SetDefault("addr", "")
viper.SetDefault("port", 8081)
viper.SetDefault("metric", "true")
viper.SetDefault("metric", true)
viper.SetEnvPrefix("memos")
}