Update index.php

This commit is contained in:
Namhyeon Go 2025-01-02 22:04:44 +09:00 committed by GitHub
parent 0bfc39a5e9
commit 376fd71b07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -643,7 +643,8 @@ if (!$is_httpproxy) {
// prevent an image file requests
foreach ($relay_image_file_extensions as $file_extension) {
if (strpos($proxy_url, $file_extension) !== false) {
exit("data:image/gif;base64,R0lGODlhAQABAAAAACwAAAAAAQABAAA=");
header("Location: https://http.cat/images/200.jpg");
exit("");
}
}