mirror of
https://github.com/usememos/memos.git
synced 2025-02-01 01:58:14 +08:00
chore: fix viper default value
This commit is contained in:
parent
215981dfde
commit
59f0ee862d
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue