laratrust icon indicating copy to clipboard operation
laratrust copied to clipboard

ability to put laratrust panel in subdomain

Open hamoda-dev opened this issue 2 years ago • 4 comments

Hi @santigarcor I found this issue: Sub Domain Route I open this pull request to add this feature, can you review it

hamoda-dev avatar Jul 03 '22 07:07 hamoda-dev

Can I use this for another domain? are you test it? @hamoda-dev

ah-rahimi avatar Jul 03 '22 13:07 ah-rahimi

@ahr1384 yes, you can use it. just specify the domain by add LARATRUST_PANEL_DOMAIN to dot env file if your primary domain is example.com and you need to put the panel in a subdomain called laratrust

LARATRUST_PANEL_DOMAIN=laratrust.example.com or edit the laratrust config file panel.domain the route will be laratrust.example.com/laratrust if you need to add it to the root of the subdomain update laratrust config file panel.path from laratrust to /

@santigarcor add this to the docs when you merge ـ

hamoda-dev avatar Jul 03 '22 15:07 hamoda-dev

Tanks @hamoda-dev

ah-rahimi avatar Jul 04 '22 05:07 ah-rahimi

@santigarcor

ah-rahimi avatar Jul 08 '22 19:07 ah-rahimi

Thanks for the PR. I'm going to close it because to add this feature some fallback logic must be implemented. This feature will be added in the next release.

filippotoso avatar Feb 20 '23 22:02 filippotoso