Removed AssetsFS() since it is not needed anymore.
This commit is contained in:
parent
f6b9a511ae
commit
cac5751ede
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user