mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 10:14:04 +00:00
domain tag
This commit is contained in:
parent
763a0a34d3
commit
b6ea6e33b8
1 changed files with 4 additions and 1 deletions
|
|
@ -65,7 +65,10 @@ class TenancyServiceProvider extends ServiceProvider
|
||||||
}
|
}
|
||||||
|
|
||||||
if (\in_array('tenancy', request()->route()->middleware())) {
|
if (\in_array('tenancy', request()->route()->middleware())) {
|
||||||
$tags = \array_merge($tags, ['tenant:' . tenant('uuid')]);
|
$tags = \array_merge($tags, [
|
||||||
|
'tenant:' . tenant('uuid'),
|
||||||
|
'domain:' . tenant('domain'),
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $tags;
|
return $tags;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue