From a9e89a463ba4d2461e3231dbab19ba0d09d1a94c Mon Sep 17 00:00:00 2001 From: 8YBY8 Date: Fri, 23 Aug 2024 12:28:37 +0800 Subject: [PATCH] change backend server --- frontend/movie.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/movie.js b/frontend/movie.js index b7146fc..bad7050 100644 --- a/frontend/movie.js +++ b/frontend/movie.js @@ -6,8 +6,9 @@ const movieTitle = url.searchParams.get("title") // 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 = 'http://localhost:5000/api/v1/reviews/'; -const APILINK = 'https://3aa70ddf-379a-4101-a9c3-213ae8ff63e1-00-8akbmliqyvsb.picard.replit.dev/api/v1/reviews/'; +const APILINK = 'https://movie-search-app-22pv.onrender.com/api/v1/reviews/'; +// const APILINK = 'https://3aa70ddf-379a-4101-a9c3-213ae8ff63e1-00-8akbmliqyvsb.picard.replit.dev/api/v1/reviews/'; +// const APILINK = 'https://8yby8.github.io/movie-search-app-backend/api/v1/reviews/'; const main = document.getElementById("section");