From 59f0ee862d30405162df249eb3f94d794765d3a5 Mon Sep 17 00:00:00 2001 From: Steven Date: Fri, 27 Oct 2023 00:49:58 +0800 Subject: [PATCH] chore: fix viper default value --- cmd/memos.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/memos.go b/cmd/memos.go index f2f9b465..dd4ef317 100644 --- a/cmd/memos.go +++ b/cmd/memos.go @@ -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") }