From 317b1ff04e2a514fc8e30af180afd7bbd031c066 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Wed, 24 May 2023 09:41:56 +0900 Subject: [PATCH] =?UTF-8?q?=E7=94=BB=E5=83=8F=E3=83=97=E3=83=AD=E3=82=AF?= =?UTF-8?q?=E3=82=B7=E3=83=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- www/index.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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("