Skip to content

Commit

Permalink
Add support to favicon
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Apr 7, 2024
1 parent 8cc3dd1 commit 884a2af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Middleware/InjectionMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ private function getImageFromDomain(Response $response): Response {
if ($type === 'logo') {
$file = $this->companyService->getThemeFile('core/img/logo.png');
$mime = 'image/png';
} elseif ($type === 'favicon') {
$file = $this->companyService->getThemeFile('core/img/favicon.png');
$mime = 'image/png';
} elseif ($type === 'background') {
$file = $this->companyService->getThemeFile('core/img/background.png');
$mime = 'image/png';
Expand Down

0 comments on commit 884a2af

Please sign in to comment.