Skip to content

Commit

Permalink
Make default favicon path absolute to avoid 404 on admin (pelican-dev…
Browse files Browse the repository at this point in the history
  • Loading branch information
RMartinOscar authored Aug 6, 2024
1 parent 2e09460 commit e8e1958
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Filament/Pages/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private function generalSettings(): array
->hintIcon('tabler-question-mark')
->hintIconTooltip('Favicons should be placed in the public folder, located in the root panel directory.')
->required()
->default(env('APP_FAVICON', './pelican.ico')),
->default(env('APP_FAVICON', '/pelican.ico')),
Toggle::make('APP_DEBUG')
->label('Enable Debug Mode?')
->inline(false)
Expand Down
2 changes: 1 addition & 1 deletion config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
return [

'name' => env('APP_NAME', 'Pelican'),
'favicon' => env('APP_FAVICON', './pelican.ico'),
'favicon' => env('APP_FAVICON', '/pelican.ico'),

'version' => 'canary',

Expand Down

0 comments on commit e8e1958

Please sign in to comment.