Merge branch 'sussy-code:dev' into fsharetv

This commit is contained in:
TPN 2024-07-17 18:25:45 +05:30 committed by GitHub
commit 0e6c977d63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2957 additions and 3356 deletions

File diff suppressed because it is too large Load Diff

View File

@ -22,7 +22,7 @@ export async function login(
const cookie = parseSetCookie(
// It retruns a cookie even when the login failed
// I have the backup cookie here just in case
res.status === 1 ? (req.headers.get('Set-Cookie') ?? '') : 'PHPSESSID=mk2p73c77qc28o5i5120843ruu;',
res.status === 1 ? req.headers.get('Set-Cookie') ?? '' : 'PHPSESSID=mk2p73c77qc28o5i5120843ruu;',
);
return cookie.PHPSESSID.value;