Panel on root path and separate page

does filament render its routes before web.php gets loaded? I've got a panel on the root path (->path('')), and I want to define a custom path. Is this even possible? My example: I have multi-tenancy set up, but in some cases (initial config or permission removal) a user will have no tenants available. In this case filament throws a 404, but I wanna catch that and display a meaningful message. I've tried with a middleware and redirect to a route like /no-tenants, but because my default panel is on the root page, it seems to catch that and throws a 404. Any ideas?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?