Make default favicon path absolute to avoid 404 on admin (#529)

This commit is contained in:
MartinOscar 2024-08-06 12:31:52 +02:00 committed by GitHub
parent 2e094605e9
commit e8e1958969
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ class Settings extends Page implements HasForms
->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)

View File

@ -5,7 +5,7 @@ use Illuminate\Support\Facades\Facade;
return [
'name' => env('APP_NAME', 'Pelican'),
'favicon' => env('APP_FAVICON', './pelican.ico'),
'favicon' => env('APP_FAVICON', '/pelican.ico'),
'version' => 'canary',