From 1e73a7ae634f7815ac50f422f5c7e454ec68ecf6 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:44:17 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B3=E3=83=B3=E3=83=95=E3=82=A3=E3=82=B0?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.example.php | 1 + www/index.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config.example.php b/config.example.php index dc643b1..97160ee 100644 --- a/config.example.php +++ b/config.example.php @@ -1,3 +1,4 @@ diff --git a/www/index.php b/www/index.php index 932d42c..ad55f17 100644 --- a/www/index.php +++ b/www/index.php @@ -9,7 +9,7 @@ function getimg (string $str): string { preg_match('//', $str, $matches); - $res = str_replace("https://", "https://imgproxy.owacon.moe/", $matches[1]); + $res = str_replace("https://", IMGPROXY."/", $matches[1]); unset($matches); return $res; } @@ -44,7 +44,7 @@ $res = str_replace("", "", $res); $res = preg_replace("//", "", $res); $res = str_replace("