mirror of
https://github.com/harness/drone.git
synced 2025-05-17 01:20:13 +08:00
Merge pull request #2307 from jhernandezb/fix/autocert
Fix autocert generation
This commit is contained in:
commit
923de1c4f2
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user