mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
Update helpers.js
This commit is contained in:
@@ -4,7 +4,7 @@ import ptt from 'parse-torrent-title'
|
|||||||
|
|
||||||
export const getMoviePosters = (movieName, language = 'en') => {
|
export const getMoviePosters = (movieName, language = 'en') => {
|
||||||
const url = 'http://api.themoviedb.org/3/search/multi'
|
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
|
return axios
|
||||||
.get(url, {
|
.get(url, {
|
||||||
|
|||||||
Reference in New Issue
Block a user