Update worker.js

This commit is contained in:
James Hawkins 2021-09-27 10:02:19 +01:00 committed by GitHub
parent 93f5daa2ab
commit 9193db6f32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,8 @@ const allowedDomains = [
'https://v2.sg.media-imdb.com',
'https://gomo.to',
'https://lookmovie.io',
'https://gomoplayer.com'
'https://gomoplayer.com',
'https://api.opensubtitles.org'
];
async function handleRequest(request, destinationUrl, iteration = 0) {
@ -128,4 +129,4 @@ addEventListener("fetch", event => {
}),
);
}
});
});