Fixed no screenshot content type header.
This commit is contained in:
parent
1d34c1f03e
commit
1bd1e2d16a
1 changed files with 1 additions and 0 deletions
|
@ -179,6 +179,7 @@ if($reqPath === '/') {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(substr($reqPath, 0, 4) === '/ss/') {
|
if(substr($reqPath, 0, 4) === '/ss/') {
|
||||||
|
header('Content-Type: image/jpeg');
|
||||||
header('X-Accel-Redirect: /assets/no-screenshot.jpg');
|
header('X-Accel-Redirect: /assets/no-screenshot.jpg');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue