Fixed no screenshot content type header.

This commit is contained in:
flash 2021-07-28 21:58:11 +00:00
parent 1d34c1f03e
commit 1bd1e2d16a

View file

@ -179,6 +179,7 @@ if($reqPath === '/') {
}
if(substr($reqPath, 0, 4) === '/ss/') {
header('Content-Type: image/jpeg');
header('X-Accel-Redirect: /assets/no-screenshot.jpg');
return;
}