mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 18:04:03 +00:00
Fix exempt routes, explain them in README
This commit is contained in:
parent
7b95a9a4cd
commit
a9750ee6d8
2 changed files with 11 additions and 6 deletions
|
|
@ -22,10 +22,6 @@ class InitializeTenancy
|
|||
*/
|
||||
public function handle($request, Closure $next)
|
||||
{
|
||||
if (in_array($request->getHost(), config('tenancy.exempt_domains', []))) {
|
||||
return $next($request);
|
||||
}
|
||||
|
||||
try {
|
||||
tenancy()->init();
|
||||
} catch (\Exception $e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue