Update helpers.js

This commit is contained in:
nikk gitanes
2023-03-29 15:52:21 +03:00
parent 42cb6bb32d
commit af6f0c55b5

View File

@@ -4,7 +4,7 @@ import ptt from 'parse-torrent-title'
export const getMoviePosters = (movieName, language = 'en') => {
const url = 'http://api.themoviedb.org/3/search/multi'
const imgHost = language == 'ru' ? 'http://imagetmdb.com' : 'http://image.tmdb.org' // https:
const imgHost = language === 'ru' ? 'http://imagetmdb.com' : 'http://image.tmdb.org' // https:
return axios
.get(url, {