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;
}
const assetPath = stack.match(/http.+?\.js/)?.[0];
const assetPath = stack.match(/http.+?(?=:\d+?:\d+?$)/m)?.[0];
if (!assetPath) {
return;
}