1
0

Removed AssetsFS() since it is not needed anymore.

This commit is contained in:
Alexander Andreev 2023-05-27 00:36:03 +04:00
parent f6b9a511ae
commit cac5751ede
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -22,10 +22,6 @@ func NewHandlers(conf *configuration.Configuration) *Handlers {
return &Handlers{conf: conf} return &Handlers{conf: conf}
} }
func (h *Handlers) AssetsFS() http.FileSystem {
return web.Assets()
}
func (h *Handlers) Index(w http.ResponseWriter, r *http.Request) { func (h *Handlers) Index(w http.ResponseWriter, r *http.Request) {
status, err := radio.IcecastGetStatus(h.conf.Icecast.URL) status, err := radio.IcecastGetStatus(h.conf.Icecast.URL)
if err != nil { if err != nil {