1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-27 01:36:24 +00:00

NoTrack: Fix on encoded assets

This commit is contained in:
Nuckyz 2024-08-14 19:25:59 -03:00
parent a8f77a12df
commit 3f0d915c75
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -97,7 +97,7 @@ export default definePlugin({
return; return;
} }
const assetPath = stack.match(/http.+?\.js/)?.[0]; const assetPath = stack.match(/http.+?(?=:\d+?:\d+?$)/m)?.[0];
if (!assetPath) { if (!assetPath) {
return; return;
} }