Removed robots.txt handler and /stats endpoint renamed to /status.
This commit is contained in:
parent
4d5fb47a15
commit
89bc554fc0
@ -57,8 +57,7 @@ func main() {
|
|||||||
|
|
||||||
srv.ServeStatic("/assets/*filepath", hand.AssetsFS())
|
srv.ServeStatic("/assets/*filepath", hand.AssetsFS())
|
||||||
srv.GET("/", hand.Index)
|
srv.GET("/", hand.Index)
|
||||||
srv.GET("/robots.txt", hand.Robots)
|
srv.GET("/status", hand.Status)
|
||||||
srv.GET("/stats", hand.Stats)
|
|
||||||
srv.GET("/lastsong", hand.LastSong)
|
srv.GET("/lastsong", hand.LastSong)
|
||||||
srv.GET("/playlist", hand.Playlist)
|
srv.GET("/playlist", hand.Playlist)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user