fix extension to webp

This commit is contained in:
ghost 2023-04-03 01:38:01 +03:00
parent 18edb66ab0
commit 74578b7aad

View File

@ -16,7 +16,7 @@ if (isset($_GET['q'])) {
if (WEBSITE_IDENTICON_IMAGE_CACHE) {
$filename = dirname(__FILE__) . '/../storage/cache/' . $hash . '.png';
$filename = dirname(__FILE__) . '/../storage/cache/' . $hash . '.webp';
if (!file_exists($filename)) {