Removed no more needed func AssetsFS.
This commit is contained in:
parent
d5052994b8
commit
d81a29bd5b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user