Skip to content

Commit

Permalink
Fix collaps
Browse files Browse the repository at this point in the history
  • Loading branch information
nb557 committed Feb 9, 2024
1 parent 60a7404 commit 219340a
Show file tree
Hide file tree
Showing 3 changed files with 272 additions and 14 deletions.
2 changes: 1 addition & 1 deletion cloudflare_worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default {
request.headers.delete("Origin");
request.headers.delete("Referer");
}
if (apiUrl.hostname === "kinoplay.site" || apiUrl.hostname === "kinoplay1.site") {
if (apiUrl.hostname === "kinoplay.site" || apiUrl.hostname === "kinoplay1.site" || apiUrl.hostname === "kinoplay2.site") {
request.headers.set("Cookie", "invite=a246a3f46c82fe439a45c3dbbbb24ad5");
}
params.forEach(param => {
Expand Down
2 changes: 1 addition & 1 deletion deno_worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ async function handle(request, connInfo) {
request.headers.delete("Origin");
request.headers.delete("Referer");
}
if (apiUrl.hostname === "kinoplay.site" || apiUrl.hostname === "kinoplay1.site") {
if (apiUrl.hostname === "kinoplay.site" || apiUrl.hostname === "kinoplay1.site" || apiUrl.hostname === "kinoplay2.site") {
request.headers.set("Cookie", "invite=a246a3f46c82fe439a45c3dbbbb24ad5");
}
params.forEach(param => {
Expand Down
Loading

0 comments on commit 219340a

Please sign in to comment.