diff --git a/cmd/dwelling-files/main.go b/cmd/dwelling-files/main.go index 691b652..7bd37bc 100644 --- a/cmd/dwelling-files/main.go +++ b/cmd/dwelling-files/main.go @@ -52,10 +52,6 @@ func main() { hand := dwhttp.New(directoryPath, !*enableFileHandler) r := httpr.New() - r.NotFoundHandler = func(w http.ResponseWriter, r *http.Request) { - fmt.Fprint(w, "lololol") - } - r.ServeStatic("/assets/*filepath", web.Assets()) r.Handler(http.MethodGet, "/file/*filepath", hand.File) r.Handler(http.MethodGet, "/*filepath", hand.Index)