mirror of https://github.com/perkeep/perkeep.git
wizard: bugfix, TLS is now https
this should have been done along with
the other changes in 94cb8cf05a
Change-Id: I376e6616c3aeaa9d5accb65b64a43d101de25d3b
This commit is contained in:
parent
909c91a9ea
commit
231c3d7405
|
@ -185,10 +185,10 @@ func handleSetupChange(rw http.ResponseWriter, req *http.Request) {
|
|||
}
|
||||
|
||||
switch k {
|
||||
case "TLS":
|
||||
case "https":
|
||||
b, err := strconv.ParseBool(v[0])
|
||||
if err != nil {
|
||||
httputil.ServerError(rw, req, fmt.Errorf("TLS field expects a boolean value"))
|
||||
httputil.ServerError(rw, req, fmt.Errorf("https field expects a boolean value"))
|
||||
}
|
||||
el = b
|
||||
case "replicateTo":
|
||||
|
|
Loading…
Reference in New Issue