mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 06:00:25 +03:00
all: Format files with gofmt
This commit is contained in:
parent
37a2d5eb4e
commit
274852bcf2
4 changed files with 23 additions and 18 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue