Commit 06913ab7 authored by Matthew Holt's avatar Matthew Holt

Oops (pass a pointer)

parent 50663020
......@@ -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))
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment