From 1bd1e2d16a5ca8e224cca3411fd139d648ecfa8c Mon Sep 17 00:00:00 2001 From: flashwave Date: Wed, 28 Jul 2021 21:58:11 +0000 Subject: [PATCH] Fixed no screenshot content type header. --- public/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/public/index.php b/public/index.php index 16a81af..f99b313 100644 --- a/public/index.php +++ b/public/index.php @@ -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; }