mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue