From 4b8ef84059e772ef7636c451356680ec5b0983c4 Mon Sep 17 00:00:00 2001 From: Physick <96335032+DegustatorPonos@users.noreply.github.com> Date: Sat, 6 Dec 2025 12:53:43 +0500 Subject: Random song endpoint --- Endpoints/Common.go | 1 + 1 file changed, 1 insertion(+) (limited to 'Endpoints/Common.go') diff --git a/Endpoints/Common.go b/Endpoints/Common.go index b30afd0..50ffa25 100644 --- a/Endpoints/Common.go +++ b/Endpoints/Common.go @@ -4,5 +4,6 @@ import "net/http" func RegisterEndpoints() { http.HandleFunc("/api/getSongs", getSongs) + http.HandleFunc("/api/randomSong", getRandomSong) http.HandleFunc("/api/getSong", getSong) } -- cgit v1.3