From 546e0bad00e4ff73fc554e5fad9786002615e654 Mon Sep 17 00:00:00 2001 From: jhernandezb Date: Thu, 18 Jan 2018 10:33:41 -0600 Subject: [PATCH] Fix autocert generation --- cmd/drone-server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/drone-server/server.go b/cmd/drone-server/server.go index a90877900..a4efe2f52 100644 --- a/cmd/drone-server/server.go +++ b/cmd/drone-server/server.go @@ -584,7 +584,7 @@ func server(c *cli.Context) error { dir := cacheDir() os.MkdirAll(dir, 0700) - manager := autocert.Manager{ + manager := &autocert.Manager{ Prompt: autocert.AcceptTOS, HostPolicy: autocert.HostWhitelist(address.Host), Cache: autocert.DirCache(dir),