0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2025-01-13 22:51:08 -05:00

Oops (pass a pointer)

This commit is contained in:
Matthew Holt 2015-10-17 11:15:43 -06:00
parent 506630200b
commit 06913ab74f

View file

@ -148,7 +148,7 @@ func initiateLetsEncrypt(configs []server.Config) ([]server.Config, error) {
if !plaintextHostFound {
// Make one that redirects to HTTPS for all requests
configs = append(configs, redirPlaintextHost(cfg))
configs = append(configs, redirPlaintextHost(*cfg))
}
}
}