1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

switch lookmovie.io to lookmovie.com

issues reported in using lookmovie.io for asian regions
This commit is contained in:
James Hawkins 2021-08-04 13:55:01 +01:00
parent 302985dd0e
commit 32ed5e1340

View file

@ -2,7 +2,7 @@ import Fuse from 'fuse.js'
import JSON5 from 'json5' import JSON5 from 'json5'
const CORS_URL = `https://movie-web-proxy.herokuapp.com`; const CORS_URL = `https://movie-web-proxy.herokuapp.com`;
const BASE_URL = `${CORS_URL}/https://lookmovie.io`; const BASE_URL = `${CORS_URL}/https://lookmovie.com`;
async function findContent(searchTerm, type) { async function findContent(searchTerm, type) {
const searchUrl = `${BASE_URL}/${type}s/search/?q=${encodeURIComponent(searchTerm)}`; const searchUrl = `${BASE_URL}/${type}s/search/?q=${encodeURIComponent(searchTerm)}`;