[HTTPS]可以直接点击按钮申请免费证书

This commit is contained in:
GoEdgeLab
2020-12-03 21:07:08 +08:00
parent cbd444eb77
commit 8112bac11f
10 changed files with 280 additions and 10 deletions

View File

@@ -120,8 +120,8 @@ func (this *IndexAction) RunGet(params struct {
// 域名列表
serverNames := []*serverconfigs.ServerNameConfig{}
if len(server.ServerNamesJON) > 0 {
err = json.Unmarshal(server.ServerNamesJON, &serverNames)
if len(server.ServerNamesJSON) > 0 {
err = json.Unmarshal(server.ServerNamesJSON, &serverNames)
if err != nil {
this.ErrorPage(err)
return