mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-20 05:56:10 +05:00
update web
This commit is contained in:
@@ -22,13 +22,7 @@ export const getMoviePosters = (movieName, language = 'en') => {
|
||||
|
||||
export const checkImageURL = async url => {
|
||||
if (!url || !url.match(/.(jpg|jpeg|png|gif)$/i)) return false
|
||||
|
||||
// try {
|
||||
// await fetch(url, { mode: 'no-cors' })
|
||||
return true
|
||||
// } catch (e) {
|
||||
// return false
|
||||
// }
|
||||
return true
|
||||
}
|
||||
|
||||
const magnetRegex = /^magnet:\?xt=urn:[a-z0-9].*/i
|
||||
|
||||
Reference in New Issue
Block a user