From 89bc554fc0efd4440deef9bb0975c02d71f62254 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Tue, 24 May 2022 18:40:52 +0400 Subject: [PATCH] Removed robots.txt handler and /stats endpoint renamed to /status. --- cmd/dwelling-radio/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/dwelling-radio/main.go b/cmd/dwelling-radio/main.go index 965ed15..7651db0 100644 --- a/cmd/dwelling-radio/main.go +++ b/cmd/dwelling-radio/main.go @@ -57,8 +57,7 @@ func main() { srv.ServeStatic("/assets/*filepath", hand.AssetsFS()) srv.GET("/", hand.Index) - srv.GET("/robots.txt", hand.Robots) - srv.GET("/stats", hand.Stats) + srv.GET("/status", hand.Status) srv.GET("/lastsong", hand.LastSong) srv.GET("/playlist", hand.Playlist)