F
Filamentβ€’15mo ago
alcmz

Chaging the default /admin url to subdomain

So i was tryingf to change the /admin url to subdomain like crmapp.domain.com as i will have a home page for the domain.com . I did go through the documentation in the link below: link: https://filamentphp.com/docs/3.x/panels/configuration#changing-the-path php artisan make:filament-panel crmapp But when i try to run the command to install AppPanelProvider it's not working. Or am i missing something?
6 Replies
toeknee
toekneeβ€’15mo ago
It does it supports domains with ->domain() it shouldn't matter if it's a sub or not So the docs are for v3 but you are saying you are on v3 πŸ˜‰
alcmz
alcmzOPβ€’15mo ago
Oh the docs is for v3 ? my bad . I'm on V2
toeknee
toekneeβ€’15mo ago
so in v2 check the config/filament.php for the domain. and set the path to be /
alcmz
alcmzOPβ€’15mo ago
I see thanks i'll take a look . I was looking for it in the document but couldn't find it
alcmz
alcmzOPβ€’15mo ago
Thanks! got it worked .
Want results from more Discord servers?
Add your server