Skip to content

Commit

Permalink
[Del] 🗑️ Cloudflare Worker Deploy Random Key Cookies
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-zklcdc committed Feb 2, 2024
1 parent f95c427 commit c8062f4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cloudflare/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,22 +341,16 @@ export default {
if (!cookie.includes('_RwBf=')) {
if (_RwBf.length !== 0) {
cookies += '; _RwBf=' + _RwBf
} else {
cookies += '; _RwBf=' + randomString(256);
}
}
if (!cookie.includes('MUID=')) {
if (MUID.length !== 0) {
cookies += '; MUID=' + MUID
} else {
cookies += '; MUID=' + randomString(256);
}
}
if (!cookie.includes('_U=')) {
if (_U.length !== 0) {
cookies += '; _U=' + _U;
} else {
cookies += '; _U=' + randomString(128);
}
}

Expand Down

0 comments on commit c8062f4

Please sign in to comment.