fewer loc

This commit is contained in:
Rick Olson 2015-08-04 11:19:36 -06:00
parent 2929402217
commit abb94ba8ae

@ -51,11 +51,10 @@ func main() {
mux.HandleFunc("/redirect307/", redirect307Handler)
mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
if strings.Contains(r.URL.Path, "/info/lfs") {
if skipIfBadAuth(w, r) {
return
if !skipIfBadAuth(w, r) {
lfsHandler(w, r)
}
lfsHandler(w, r)
return
}