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 { if !plaintextHostFound {
// Make one that redirects to HTTPS for all requests // Make one that redirects to HTTPS for all requests
configs = append(configs, redirPlaintextHost(cfg)) configs = append(configs, redirPlaintextHost(*cfg))
} }
} }
} }