diff --git a/cmd/dwelling-radio/main.go b/cmd/dwelling-radio/main.go index db0fe87..5c4e2cf 100644 --- a/cmd/dwelling-radio/main.go +++ b/cmd/dwelling-radio/main.go @@ -55,11 +55,15 @@ func main() { srv := http.NewHttpServer() srv.ServeStatic("/assets/*filepath", hand.AssetsFS()) + srv.GET("/", hand.Index) + srv.GET("/status", hand.Status) srv.GET("/lastsong", hand.LastSong) + srv.GET("/playlist", hand.Playlist) srv.GET("/filelist", hand.Filelist) + srv.GET("/robots.txt", hand.RobotsTxt) if !*noLiquidsoap {