change api endpoint routes
This commit is contained in:
@@ -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"})
|
||||
|
||||
Reference in New Issue
Block a user