mirror of
https://github.com/movie-web/movie-web.git
synced 2025-01-01 11:56:00 +00:00
Update worker.js
This commit is contained in:
parent
93f5daa2ab
commit
9193db6f32
|
@ -8,7 +8,8 @@ const allowedDomains = [
|
||||||
'https://v2.sg.media-imdb.com',
|
'https://v2.sg.media-imdb.com',
|
||||||
'https://gomo.to',
|
'https://gomo.to',
|
||||||
'https://lookmovie.io',
|
'https://lookmovie.io',
|
||||||
'https://gomoplayer.com'
|
'https://gomoplayer.com',
|
||||||
|
'https://api.opensubtitles.org'
|
||||||
];
|
];
|
||||||
|
|
||||||
async function handleRequest(request, destinationUrl, iteration = 0) {
|
async function handleRequest(request, destinationUrl, iteration = 0) {
|
||||||
|
@ -128,4 +129,4 @@ addEventListener("fetch", event => {
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue