F
Filamentβ€’16mo ago
weslink_cw

i set FILAMENT_PATH='/' - but / returns a 404

Did i have to do anything else to server the filament admin on / ?
2 Replies
xy
xyβ€’16mo ago
@weslink_cw Try
return $panel
// ...
->path('');
return $panel
// ...
->path('');
Empty path instead of leading slash. https://filamentphp.com/docs/3.x/panels/configuration#changing-the-path
weslink_cw
weslink_cwOPβ€’16mo ago
omg - it was just a typo in the .env FILAMENT_PATH='/' works just as expected - but @ap3716 your comment opened my eyes - thx πŸ™‚
Want results from more Discord servers?
Add your server