diff --git a/src/server.ts b/src/server.ts index 7b6a530..e45af59 100644 --- a/src/server.ts +++ b/src/server.ts @@ -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;