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("