mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
try to fix #176
This commit is contained in:
parent
de175da42d
commit
008ce4ab02
3 changed files with 14 additions and 9 deletions
|
@ -98,9 +98,6 @@ func listCerts(ctx *cli.Context) error {
|
|||
|
||||
fmt.Printf("Domain\tValidTill\n\n")
|
||||
for _, cert := range items {
|
||||
if cert.Domain[0] == '.' {
|
||||
cert.Domain = "*" + cert.Domain
|
||||
}
|
||||
fmt.Printf("%s\t%s\n",
|
||||
cert.Domain,
|
||||
time.Unix(cert.ValidTill, 0).Format(time.RFC3339))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue