Fix non-html stuff hitting Checkpoint
This commit is contained in:
parent
e98ad98030
commit
551ea797d0
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