We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a21373e commit 7dc22f0Copy full SHA for 7dc22f0
src/lib/processSnapshot.ts
@@ -24,7 +24,7 @@ export default async (snapshot: Snapshot, ctx: Context): Promise<Record<string,
24
25
try {
26
// abort audio/video media requests
27
- if (request.resourceType() === 'media' && /\.(mp3|mp4|wav|ogg|webm)$/i.test(request.url())) {
+ if (/\.(mp3|mp4|wav|ogg|webm)$/i.test(request.url())) {
28
throw new Error('resource type mp3/mp4/wav/ogg/webm');
29
}
30
0 commit comments