chore(*): remove duplicate cache rule + cleanup cache headers; cleanup + formatting
This commit is contained in:
parent
425fed6ff6
commit
0e565970a5
42 changed files with 223 additions and 217 deletions
|
@ -27,8 +27,10 @@
|
|||
if ($httpCode !== 200 || $image === false || strpos($contentType, 'image/') !== 0) {
|
||||
error_log("Failed to fetch image: $cdnUrl ($httpCode - $contentType)");
|
||||
header("Location: /404", true, 302);
|
||||
|
||||
exit;
|
||||
}
|
||||
|
||||
header("Content-Type: $contentType");
|
||||
|
||||
echo $image;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue