diff --git a/config.example.php b/config.example.php
index 97160ee..5f462d1 100644
--- a/config.example.php
+++ b/config.example.php
@@ -1,4 +1,4 @@
diff --git a/www/index.php b/www/index.php
index 9bcc8a3..c34b1be 100644
--- a/www/index.php
+++ b/www/index.php
@@ -9,6 +9,7 @@
function getimg (string $str): string {
preg_match('//', $str, $matches);
+ if (!isset($matches[1])) return "";
$res = str_replace("https://", IMGPROXY."/", $matches[1]);
unset($matches);
return $res;
@@ -79,6 +80,7 @@
$res = preg_replace('/