From cc8634fdb574f1fbcefa07e105157ede8d16b1c3 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Tue, 13 Jun 2023 00:08:12 +0400 Subject: [PATCH] Oh, remove this test code. --- cmd/dwelling-files/main.go | 4 ---- 1 file changed, 4 deletions(-) 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)