Skip to content

Commit

Permalink
add private api
Browse files Browse the repository at this point in the history
  • Loading branch information
Satyam1923 authored May 10, 2024
1 parent ed0e65a commit 2e14c78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ app.get("/search", async (req, res) => {
res.render("index.ejs", { data: music });
} else {
const response = await axios.get(
`http://jiosaavn-olj6ym1v4-thesumitkolhe.vercel.app/api/search/songs?query=${name}`
`https://jio-savaan-private.vercel.app/api/search/songs?query=${name}`
);
if (response.data.data.results && response.data.data.results.length > 0) {
const musicArray = response.data.data.results
Expand Down Expand Up @@ -58,7 +58,7 @@ app.get("/search1", async (req, res) => {
res.send(music);
} else {
const response = await axios.get(
`http://jiosaavn-olj6ym1v4-thesumitkolhe.vercel.app/api/search/songs?query=${name}`
`https://jio-savaan-private.vercel.app/api/search/songs?query=${name}`
);
if (response.data.data.results && response.data.data.results.length > 0) {
const musicArray = response.data.data.results
Expand Down

0 comments on commit 2e14c78

Please sign in to comment.