From d81a29bd5b38b4654364579cfb4343b7b3607c8d Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 28 May 2023 04:18:50 +0400 Subject: [PATCH] Removed no more needed func AssetsFS. --- internal/http/handlers.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/http/handlers.go b/internal/http/handlers.go index 2156d64..1134521 100644 --- a/internal/http/handlers.go +++ b/internal/http/handlers.go @@ -227,10 +227,6 @@ func Error(w http.ResponseWriter, r *http.Request, code int, reason string) { web.ErrorXXX(utils.MainSite(r.Host), code, reason, w) } -func AssetsFS() http.FileSystem { - return web.Assets() -} - func RobotsTxt(w http.ResponseWriter, r *http.Request) { data, _ := web.AssetsGetFile("robots.txt") w.Write(data)