diff --git a/project/client/src/pages/Main/SearchPage.js b/project/client/src/pages/Main/SearchPage.js index 2a9235ca..c355f20d 100644 --- a/project/client/src/pages/Main/SearchPage.js +++ b/project/client/src/pages/Main/SearchPage.js @@ -15,7 +15,7 @@ const SearchPage = ({ isLoggedIn, setIsLoggedIn }) => { useEffect(() => { if (searchQuery) { // Fetch initial search results - fetch('http://207.154.242.6:8020/docs/query-film-pattern/', { + fetch('http://207.154.242.6:8020/query-film-pattern/', { method: 'POST', headers: { 'Content-Type': 'application/json', @@ -43,7 +43,7 @@ const SearchPage = ({ isLoggedIn, setIsLoggedIn }) => { }; // Fetch movie details - return fetch('http://207.154.242.6:8020/docs/get-film-details/', { + return fetch('http://207.154.242.6:8020/get-film-details/', { method: 'POST', headers: { 'Content-Type': 'application/json',