mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-06 19:10:54 +01:00
Fix crash with pxtwitter.com .mp4/.jpg links
This commit is contained in:
parent
37bf59e039
commit
5cf7b61f45
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ const statusRequest = async (
|
|||
|
||||
if (
|
||||
Constants.DEPRECATED_DOMAIN_LIST.includes(url.hostname) &&
|
||||
BigInt(id) > Constants.DEPRECATED_DOMAIN_EPOCH
|
||||
BigInt(id?.match(/\d{2,20}/g)?.[0] || 0) > Constants.DEPRECATED_DOMAIN_EPOCH
|
||||
) {
|
||||
console.log('Request to deprecated domain');
|
||||
flags.deprecated = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue