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

This commit is contained in:
刘祥超
2020-12-03 21:07:08 +08:00
parent 6f3f3ec369
commit df0cbe1f5c
10 changed files with 280 additions and 10 deletions

View File

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