diff --git a/src/pages.go b/src/pages.go index 08ff4c7..0e4addd 100644 --- a/src/pages.go +++ b/src/pages.go @@ -202,6 +202,7 @@ func getPage(w http.ResponseWriter, r *http.Request) error { entryPath = notFoundPage continue } else { + reader = bytes.NewReader([]byte("not found\n")) break } } else if entry.GetType() == Type_InlineFile {