mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 19:14:45 +02:00
Make default favicon path absolute to avoid 404 on admin (#529)
This commit is contained in:
parent
2e094605e9
commit
e8e1958969
@ -92,7 +92,7 @@ class Settings extends Page implements HasForms
|
|||||||
->hintIcon('tabler-question-mark')
|
->hintIcon('tabler-question-mark')
|
||||||
->hintIconTooltip('Favicons should be placed in the public folder, located in the root panel directory.')
|
->hintIconTooltip('Favicons should be placed in the public folder, located in the root panel directory.')
|
||||||
->required()
|
->required()
|
||||||
->default(env('APP_FAVICON', './pelican.ico')),
|
->default(env('APP_FAVICON', '/pelican.ico')),
|
||||||
Toggle::make('APP_DEBUG')
|
Toggle::make('APP_DEBUG')
|
||||||
->label('Enable Debug Mode?')
|
->label('Enable Debug Mode?')
|
||||||
->inline(false)
|
->inline(false)
|
||||||
|
@ -5,7 +5,7 @@ use Illuminate\Support\Facades\Facade;
|
|||||||
return [
|
return [
|
||||||
|
|
||||||
'name' => env('APP_NAME', 'Pelican'),
|
'name' => env('APP_NAME', 'Pelican'),
|
||||||
'favicon' => env('APP_FAVICON', './pelican.ico'),
|
'favicon' => env('APP_FAVICON', '/pelican.ico'),
|
||||||
|
|
||||||
'version' => 'canary',
|
'version' => 'canary',
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user