1
0

Removed no more needed func AssetsFS.

This commit is contained in:
Alexander Andreev 2023-05-28 04:18:50 +04:00
parent d5052994b8
commit d81a29bd5b
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -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)