Skip to content

Commit

Permalink
query search limit increase to 30
Browse files Browse the repository at this point in the history
  • Loading branch information
Satyam1923 committed Jun 21, 2024
1 parent 86ea9f5 commit 92752d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/routes/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ router.get("/", async (req, res) => {
}
const apiUrl = `https://jio-savaan-private.vercel.app/api/search/songs?query=${encodeURIComponent(
song
)}`;
)}&limit=30`;
console.log(apiUrl);
try {
const response = await axios.get(apiUrl);
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Search/Search.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ function Search({ setCurrPage }) {
<div className="w-full h-full gap-2 flex flex-col">
<div className="w-full p-2">
{/* Search filters */}
<div className="w-full h-20 flex justify-start gap-6">
<div className="w-full h-14 flex justify-start gap-6">
<div className="bg-white flex items-center justify-center hover:cursor-pointer min-w-[70px] rounded-lg pl-4 pr-4">
<Link to="all">
<h2 className="text-3xl bg-transparent text-black text-center w-full font-medium">
Expand Down

0 comments on commit 92752d4

Please sign in to comment.