fix identicon

This commit is contained in:
ghost 2023-11-25 05:32:11 +02:00
parent 81b2e1bdd1
commit 8513008e94

View File

@ -235,8 +235,15 @@ $results = $index->search($q)
<?php
$identicon = new \Jdenticon\Identicon();
$identicon->setValue($result->url);
$identicon->setValue(
parse_url(
$result->url,
PHP_URL_HOST
)
);
$identicon->setSize(16);
$identicon->setStyle(
[
'backgroundColor' => 'rgba(255, 255, 255, 0)',