Fixed minor code style in PR

- Fixed minor coding style in PR
- Updated geoip list
This commit is contained in:
Toby Chui
2024-05-06 18:50:12 +08:00
parent 1db2ca61fa
commit 46817d0664
10 changed files with 80305 additions and 88686 deletions

View File

@@ -47,7 +47,7 @@ func handleListCertificate(w http.ResponseWriter, r *http.Request) {
LastModifiedDate string
ExpireDate string
RemainingDays int
DNS bool
UseDNS bool
}
results := []*CertInfo{}
@@ -94,7 +94,7 @@ func handleListCertificate(w http.ResponseWriter, r *http.Request) {
LastModifiedDate: modifiedTime,
ExpireDate: certExpireTime,
RemainingDays: expiredIn,
DNS: certInfo.DNS,
UseDNS: certInfo.UseDNS,
}
results = append(results, &thisCertInfo)