diff options
| author | real-zephex <[email protected]> | 2024-05-07 08:38:08 +0530 |
|---|---|---|
| committer | real-zephex <[email protected]> | 2024-05-07 08:38:08 +0530 |
| commit | d4cb608107f48c763d489411189a7a634edfdded (patch) | |
| tree | 0827f8da810ca372f6e3dea8406b739ba03e43a6 /utils/movie_urls.js | |
| parent | Merge pull request #20 from zephex-alt/master (diff) | |
| download | dramalama-d4cb608107f48c763d489411189a7a634edfdded.tar.xz dramalama-d4cb608107f48c763d489411189a7a634edfdded.zip | |
small fixes and shit
Diffstat (limited to 'utils/movie_urls.js')
| -rw-r--r-- | utils/movie_urls.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/utils/movie_urls.js b/utils/movie_urls.js index 20cbfef..eb512aa 100644 --- a/utils/movie_urls.js +++ b/utils/movie_urls.js @@ -1,8 +1,9 @@ const API_KEY = "171fe27dbfecc58e2a18fbced644cda9"; +const PROXY = "https://sup-proxy.zephex0-f6c.workers.dev/api-json?url="; // MOVIES -export const TRENDING = `https://api.themoviedb.org/3/trending/movie/day?api_key=${API_KEY}`; +export const TRENDING = `${PROXY}https://api.themoviedb.org/3/trending/movie/day?api_key=${API_KEY}`; export const SEARCH = `https://api.themoviedb.org/3/search/movie?api_key=${API_KEY}&query=`; -export const POPULAR = `https://api.themoviedb.org/3/movie/popular?api_key=${API_KEY}`; +export const POPULAR = `${PROXY}https://api.themoviedb.org/3/movie/popular?api_key=${API_KEY}`; export const getInfoURL = (movieId) => - `https://api.themoviedb.org/3/movie/${movieId}?api_key=${API_KEY}`; + `${PROXY}https://api.themoviedb.org/3/movie/${movieId}?api_key=${API_KEY}`; |