diff --git a/routes/auth.go b/routes/auth.go index 5e290b8..1818c5e 100644 --- a/routes/auth.go +++ b/routes/auth.go @@ -13,7 +13,7 @@ import ( func RegisterAuthRoutes(r *gin.Engine, db *gorm.DB) { userService := services.NewUserService(db) - auth := r.Group("/auth") + auth := r.Group("/api") { auth.POST("/signup", signup(userService)) auth.POST("/login", login(userService))