about summary refs log tree commit diff
path: root/src/http
diff options
context:
space:
mode:
Diffstat (limited to 'src/http')
-rw-r--r--src/http/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/http.go b/src/http/http.go
index 252156b..8f49284 100644
--- a/src/http/http.go
+++ b/src/http/http.go
@@ -87,7 +87,6 @@ func pathHandler(w http.ResponseWriter, r *http.Request) {
 	files, err := ioutil.ReadDir(requestURI)
 	if err != nil {
 		logrus.Warn(err)
-		w.WriteHeader(http.StatusInternalServerError)
 		return
 	}
 
@@ -99,6 +98,7 @@ func pathHandler(w http.ResponseWriter, r *http.Request) {
 		logrus.Tracef("f: %s", f.Name())
 
 		if filterIsValid(f.Name()) == false {
+			logrus.Tracef("NOPE")
 			continue
 		}