mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
wip
This commit is contained in:
@@ -110,7 +110,7 @@ class Factory
|
||||
|
||||
protected function addAdminRoutes()
|
||||
{
|
||||
$adminCondition = 'request.headers.get("Host") matches "/'.config('expose.admin.subdomain').'\./i"';
|
||||
$adminCondition = 'request.headers.get("Host") matches "/^'.config('expose.admin.subdomain').'\./i"';
|
||||
|
||||
$this->router->get('/', RedirectToUsersController::class, $adminCondition);
|
||||
$this->router->get('/users', ListUsersController::class, $adminCondition);
|
||||
|
||||
Reference in New Issue
Block a user