Fix playlists API: disable redirect_slashes, fix route path for Vite proxy
This commit is contained in:
@@ -21,7 +21,7 @@ from app.services.recommender import build_taste_profile
|
||||
router = APIRouter(prefix="/playlists", tags=["playlists"])
|
||||
|
||||
|
||||
@router.get("/", response_model=list[PlaylistResponse])
|
||||
@router.get("", response_model=list[PlaylistResponse])
|
||||
async def list_playlists(
|
||||
user: User = Depends(get_current_user),
|
||||
db: AsyncSession = Depends(get_db),
|
||||
|
||||
Reference in New Issue
Block a user