File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const { subtle } = webcrypto;
88 * This key is embedded in their frontend bundle.
99 */
1010const ENCRYPTION_KEY_HEX =
11- 'd8f2a1b5e9c470814f6b2c3a5d8e7f9c1a2b3c4d5e3f7a8b9c0d1e2f3a4d5c6d ' ;
11+ 'a8f2a1b5e9c470814f6b2c3a5d8e7f9c1a2b3c4d5e3f7a8b8cad1e2f0a4d5c5a ' ;
1212
1313/**
1414 * Peachify payload format:
@@ -119,11 +119,6 @@ export default async function decryptPayload(
119119
120120 return JSON . parse ( decryptedJson ) as PeachifyApiResponse ;
121121 } catch ( error ) {
122- console . error (
123- 'Failed to decrypt Peachify payload. Payload may be invalid or tampered with.' ,
124- error
125- ) ;
126-
127122 return null ;
128123 }
129124}
Original file line number Diff line number Diff line change @@ -125,7 +125,9 @@ export class PeachifyProvider extends BaseProvider {
125125
126126 if ( body . isEncrypted && body . data ) {
127127 const decrypted = await decrypt ( body . data ) ;
128- if ( ! decrypted ) return null ;
128+ if ( ! decrypted ) {
129+ return null ;
130+ }
129131 body = decrypted ;
130132 }
131133 const rawSources = Array . isArray ( body . sources ) ? body . sources : [ ] ;
Original file line number Diff line number Diff line change @@ -12,4 +12,5 @@ export const streamPatterns: RegExp[] = [
1212 / ( e p i m e t h e u s 6 3 | e a r t h 1 4 | p a n d o r a 2 0 ) \. w o r k e r s \. d e v / , // streammafia's workers.dev proxy domains
1313 / t i k t o k c d n \. c o m / ,
1414 / \/ c o n t e n t \/ ( .) * \/ p a g e \- ( .) * \. h t m l / ,
15+ / t r e n d i m o v i e s \. c o m \/ t g s t r e a m \/ s t r e a m /
1516] ;
You can’t perform that action at this time.
0 commit comments