aboutsummaryrefslogtreecommitdiffhomepage
path: root/commands
diff options
context:
space:
mode:
authorOleksandr Redko <[email protected]>2023-10-04 22:25:43 +0300
committerBjørn Erik Pedersen <[email protected]>2023-10-05 14:45:55 +0200
commit274852bcf254230fae30bed4883049ec94462e85 (patch)
treea8276d0c666d8fb16ba832d932c77c3458a1824b /commands
parent37a2d5eb4e99b102ba39616917a4c76cb8a142a7 (diff)
downloadhugo-274852bcf254230fae30bed4883049ec94462e85.tar.gz
hugo-274852bcf254230fae30bed4883049ec94462e85.zip
all: Format files with gofmt
Diffstat (limited to 'commands')
-rw-r--r--commands/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/server.go b/commands/server.go
index 364e59f8f..63c09fccd 100644
--- a/commands/server.go
+++ b/commands/server.go
@@ -927,7 +927,7 @@ func (c *serverCommand) serve() error {
for i := range baseURLs {
mu, listener, serverURL, endpoint, err := srv.createEndpoint(i)
- var srv *http.Server
+ var srv *http.Server
if c.tlsCertFile != "" && c.tlsKeyFile != "" {
srv = &http.Server{
Addr: endpoint,