diff --git a/www/index.php b/www/index.php index bd8717e..932d42c 100644 --- a/www/index.php +++ b/www/index.php @@ -9,7 +9,9 @@ function getimg (string $str): string { preg_match('//', $str, $matches); - return $matches[1]; + $res = str_replace("https://", "https://imgproxy.owacon.moe/", $matches[1]); + unset($matches); + return $res; } function getdesc (string $str): string { @@ -42,6 +44,7 @@ $res = str_replace("", "", $res); $res = preg_replace("//", "", $res); $res = str_replace("