Add missing return.
This commit is contained in:
parent
d398bd962a
commit
af64f5a534
|
@ -126,6 +126,7 @@ func (wfe *WebFrontEndImpl) Index(response http.ResponseWriter, request *http.Re
|
|||
if request.Method != "GET" {
|
||||
sendAllow(response, "GET")
|
||||
wfe.sendError(response, "Method not allowed", request.Method, http.StatusMethodNotAllowed)
|
||||
return
|
||||
}
|
||||
|
||||
tmpl := template.Must(template.New("body").Parse(`<html>
|
||||
|
|
Loading…
Reference in New Issue