Closed thill0822 closed 6 years ago
I have not tested it personally, but you can try
Route::domain('admin.domain.com')->group(function () {
Voyager::routes();
});
I havent tested it, but it should mostly work. You'll likely have some issues doing that. Specifically, if you log in with a user that is not granted access to Voyager, it will try to redirect to /
, likely causing an infinite loop. Other than that, I think everything should just work.
thanks @emptynick & @fletch3555. Will be testing in the next few days (hopefully) and will comment back on how it works along with any tweaks for future reference.
Sounds good. I'll close this for now. Feel free to open it again if needed
Is it working by now? I want to take voyager to -> sub.mydomain.com/admin instead mydomain.com/admin
Is it possible?
Is it working by now? I want to take voyager to -> sub.mydomain.com/admin instead mydomain.com/admin
Is it possible?
Route::group(['domain' => 'sub.mydomain.com', 'prefix' => 'admin '], function () { Voyager::routes(); });
Is it working by now? I want to take voyager to -> sub.mydomain.com/admin instead mydomain.com/admin
Is it possible?
i have too, but not working, pleace help
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.
Is it possible to have the admin panel prefix go to the root directory? I'd like to have actually use a subdomain for the admin panel.