diff options
Diffstat (limited to 'commands')
-rw-r--r-- | commands/server.go | 2 |
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, |