Skip to content

Commit

Permalink
Update movie.js
Browse files Browse the repository at this point in the history
  • Loading branch information
8YBY8 authored Jul 16, 2024
1 parent c31b6d9 commit bbb318a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/movie.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ const movieTitle = url.searchParams.get("title")
// input the API
// doc: https://developer.themoviedb.org/docs/append-to-response
// const APILINK = 'http://127.0.0.1:5500/backend/api/v1/reviews/';
const APILINK = '../backend/api/v1/reviews/';
// const APILINK = '../backend/api/v1/reviews/';
const APILINK = 'http://localhost:5000/api/v1/reviews/';


const main = document.getElementById("section");
Expand Down Expand Up @@ -121,4 +122,4 @@ function deleteReview(id) {
console.log(res)
location.reload();
});
}
}

0 comments on commit bbb318a

Please sign in to comment.