mirror of
https://github.com/usememos/memos.git
synced 2025-02-21 05:40:57 +01:00
chore: tweak linter error
This commit is contained in:
parent
a50f3b9382
commit
8fd5365ac1
@ -140,7 +140,9 @@ func init() {
|
||||
|
||||
viper.SetEnvPrefix("memos")
|
||||
viper.AutomaticEnv()
|
||||
viper.BindEnv("password-auth", "MEMOS_PASSWORD_AUTH")
|
||||
if err := viper.BindEnv("password-auth", "MEMOS_PASSWORD_AUTH"); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
viper.SetDefault("mode", "demo")
|
||||
viper.SetDefault("driver", "sqlite")
|
||||
|
Loading…
x
Reference in New Issue
Block a user