1
0

Removed unneeded func AssetsFS().

This commit is contained in:
Alexander Andreev 2023-05-28 04:45:15 +04:00
parent 7b253a16ed
commit 7a5532e1fb
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -162,10 +162,6 @@ func (h *Handlers) RSS(w http.ResponseWriter, r *http.Request) {
web.RSS(r.URL.Scheme+"://"+r.Host, "Arav", posts, r, w)
}
func AssetsFS() http.FileSystem {
return web.Assets()
}
func RobotsTxt(w http.ResponseWriter, r *http.Request) {
data, _ := web.AssetsGetFile("robots.txt")
w.Write(data)