change api endpoint routes

This commit is contained in:
zardzul
2026-03-13 21:41:00 +01:00
parent d98b8cce3e
commit 82e1b51d38
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import (
)
func Routes(router *gin.Engine, userHandler *handlers.UserHandler, artistHandler *handlers.ArtistHandler) {
root := router.Group("/")
root := router.Group("/api/v1")
{
root.GET("/ping", func(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{"message": "pong"})