mirror of https://github.com/perkeep/perkeep.git
camlistored: change an ioutil.ReadFile to wkfs
Change-Id: Id5d50d33bcfb7395b55f0f28776e1f6c880ccf46
This commit is contained in:
parent
f764d2ca06
commit
7146e3b1e9
|
@ -284,7 +284,7 @@ func setupTLS(ws *webserver.Server, config *serverinit.Config, listen string) {
|
|||
cert = defCert
|
||||
key = defKey
|
||||
}
|
||||
data, err := ioutil.ReadFile(cert)
|
||||
data, err := wkfs.ReadFile(cert)
|
||||
if err != nil {
|
||||
exitf("Failed to read pem certificate: %s", err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue