Skip to content

Commit

Permalink
填充默认配置
Browse files Browse the repository at this point in the history
  • Loading branch information
xmdhs committed Nov 25, 2023
1 parent e1517d4 commit 2d1cb15
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,15 @@ func Default() Config {
ServerName: "没有设置名字",
Captcha: Captcha{},
Email: EmailConfig{
Smtp: []SmtpUser{},
Smtp: []SmtpUser{
{
Host: "",
Port: 0,
SSL: false,
Name: "",
Pass: "",
},
},
AllowDomain: []string{},
},
}
Expand Down

0 comments on commit 2d1cb15

Please sign in to comment.