Removed unneeded func AssetsFS().
This commit is contained in:
parent
7b253a16ed
commit
7a5532e1fb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user