We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 757c292 + 0ddcce0 commit afb5b4dCopy full SHA for afb5b4d
src/helpers.php
@@ -6,7 +6,7 @@
6
function favicon($image)
7
{
8
if (app(FaviconGenerator::class)->shouldGenerateFavicon(app()->environment())) {
9
- return rtrim(config('app.url'), '/').'/'.config('favicon.url_prefix')."/$image";
+ return rtrim(config('app.url'), '/').'/'.config('favicon.url_prefix').'/'.trim($image, '/');
10
}
11
12
return $image;
0 commit comments