mirror of
https://github.com/bitinflow/expose.git
synced 2026-10-31 20:59:09 +00:00
wip
This commit is contained in:
1 parent
6a47264be9
commit
c0ae08ade4
1 file changed
+1
-1
@@ -115,7 +115,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