Skip to content

Commit

Permalink
Display "TLS disabled" when key or cert isn't present
Browse files Browse the repository at this point in the history
  • Loading branch information
KenyC committed Oct 31, 2024
1 parent f024832 commit efec37e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/serve/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ func (c *command) Run(ctx context.Context) error {
ancli.PrintfOK("- Mirror directory: '%v'", c.mirrorPath)
if serveTLS {
ancli.PrintfOK("- TLS enabled (cert: '%v', key: '%v')", *c.tlsCertPath, *c.tlsKeyPath)
} else {
ancli.PrintfOK("- TLS disabled")
}

var err error
Expand Down

0 comments on commit efec37e

Please sign in to comment.