Reapply "Fix non-html stuff hitting Checkpoint"
This reverts commit c666415b80.
This commit is contained in:
parent
c666415b80
commit
aa7da4611b
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue