F
Filament2mo ago
Tanguy

filament route - default to a landing page instead of login

I'm building a saas app where having 2 filament panels. 1 for the SAAS admin and 1 for the tenant. * localhost > routes to the welcome page ( as defined in the web route file) * localhost/saas -> routes automatically to the localhost/saas/login page - after login you go to localhost/saas * localhost/tenant -> routes automatically to the localhost/tenant/login page - after login you go to localhost/tenant/tenant-slug * localhost/tenant/tenant-slug -> routes automatically to the localhost/tenant/login page - after login you go to localhost/tenant/tenant-slug if adding tenant domain I can have this: tenant-slug.localhost/tenant -> routes automatically to the localhost/tenant/login page - after login you go to tenant-slug.localhost/tenant What I want is when we go to localhost/tenant/tenant-slug ( or tenant-slug.localhost ) to show a specific home page wiht tenant information (different than the welcome page) tried with a custom page, but couldn't find where to set the route tried with a classic controller and a view, setting the route in web.php , but then I can't login to the panel anymore. Any suggestions ?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server