1
0

Removed robots.txt handler and /stats endpoint renamed to /status.

This commit is contained in:
Alexander Andreev 2022-05-24 18:40:52 +04:00
parent 4d5fb47a15
commit 89bc554fc0
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -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)