diff --git a/movie-app/script.js b/movie-app/script.js index 469f141..f4a1439 100644 --- a/movie-app/script.js +++ b/movie-app/script.js @@ -1,4 +1,5 @@ -const API_URL = 'https://api.themoviedb.org/3/discover/movie?sort_by=popularity.desc&api_key=3fd2be6f0c70a2a598f084ddfb75487c&page=1' +const API_KEY = "" +const API_URL = `https://api.themoviedb.org/3/discover/movie?sort_by=popularity.desc&api_key=${API_KEY}&page=1` const IMG_PATH = 'https://image.tmdb.org/t/p/w1280' const SEARCH_API = 'https://api.themoviedb.org/3/search/movie?api_key=3fd2be6f0c70a2a598f084ddfb75487c&query="'