Reapply "Fix non-html stuff hitting Checkpoint"

This reverts commit c666415b80.
This commit is contained in:
Caileb 2025-05-29 16:51:04 -05:00
parent c666415b80
commit aa7da4611b

View file

@ -737,7 +737,7 @@ function CheckpointMiddleware() {
} }
} }
// Skip checkpoint for requests that don't accept HTML // Skip checkpoint for requests that don't accept HTML or are for audio/video
if (!req.accepts('html')) { if (!req.accepts('html')) {
return next(); return next();
} }