Add missing return.

This commit is contained in:
Jacob Hoffman-Andrews 2015-06-12 14:37:26 -07:00
parent d398bd962a
commit af64f5a534
1 changed files with 1 additions and 0 deletions

View File

@ -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>