F
Filament9mo ago
Abi

setting a custom homeUrl after login doesn't seem to work

i have a new panel created and set the homeUrl('calendar') but everytime I login on the new panel, it tries to look for dashboard
7 Replies
Abi
AbiOP9mo ago
need some help with this, after login it always seems to go to /dashboard and I get a 404 error since it doesn't exist was homeUrl function would fix that bumping up
dodecadaedra
dodecadaedra9mo ago
Did you install Jetstream? What is in routes/web.php?
awcodes
awcodes9mo ago
I’m not sure homeUrl() is correct for this. I think homeUrl() is mostly for the link provided to the logo when clicking on it.
sandofgods
sandofgods9mo ago
Have you tried this? it's may work (Lots of V2 tricks works on V3) https://v2.filamentphp.com/tricks/customize-redirect-after-admin-login
Filament
Customize redirect after admin panel login by David VINCENT - Trick...
Filament is a collection of tools for rapidly building beautiful TALL stack apps, designed for humans.
Abi
AbiOP9mo ago
can't seem to get this to work, this issue started happening with L11 for some reason, the homeUrl() seemed to work fine before upgrading the project to L11 tried the solution posted by @Yuvraj Timalsina , doesn't work either Yes, I have jetstream installed because I have custom auth pages..
dodecadaedra
dodecadaedra8mo ago
The /dashboard route gets set up in routes/web.php when you install Jetstream. Is it still there? I'm guessing you already checked this, but at least in L10 I just had to remove the redirection on login to /dashboard from there.
Want results from more Discord servers?
Add your server