Skip to content

Commit

Permalink
Fumpted the go
Browse files Browse the repository at this point in the history
  • Loading branch information
baalimago committed Oct 31, 2024
1 parent a664d41 commit 7ad7781
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/serve/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (c *command) Run(ctx context.Context) error {
protocol = "https"
}
baseURL := fmt.Sprintf("%s://%s:%d", protocol, hostname, *c.port)

ancli.PrintfOK("Server started successfully:")
ancli.PrintfOK("- URL: %s", baseURL)
ancli.PrintfOK("- Serving directory: '%v'", c.masterPath)
Expand All @@ -106,7 +106,7 @@ func (c *command) Run(ctx context.Context) error {
} else {
ancli.PrintfOK("- TLS disabled")
}

var err error
if serveTLS {
err = s.ListenAndServeTLS(*c.tlsCertPath, *c.tlsKeyPath)
Expand Down

0 comments on commit 7ad7781

Please sign in to comment.