mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-11 03:15:07 +01:00
switch lookmovie.io to lookmovie.com
issues reported in using lookmovie.io for asian regions
This commit is contained in:
parent
302985dd0e
commit
32ed5e1340
@ -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)}`;
|
||||||
|
Loading…
Reference in New Issue
Block a user