1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 18:24:04 +00:00

remove old UUID generator, minor config changes

This commit is contained in:
Samuel Štancl 2024-04-16 02:17:20 +02:00
parent 83b1ae1aea
commit 4bdb986b96
2 changed files with 5 additions and 22 deletions

View file

@ -44,7 +44,7 @@ return [
*
* Only relevant if you're using the domain or subdomain identification middleware.
*/
'central_domains' => [ // todo@docs this was moved into the identification section
'central_domains' => [
str(env('APP_URL'))->after('://')->before('/')->toString(),
],
@ -87,6 +87,7 @@ return [
Middleware\InitializeTenancyByDomainOrSubdomain::class,
],
// todo@lukas docblock
'path_identification_middleware' => [
Middleware\InitializeTenancyByPath::class,
],
@ -132,7 +133,7 @@ return [
// Basic Laravel features
Bootstrappers\DatabaseTenancyBootstrapper::class,
Bootstrappers\CacheTenancyBootstrapper::class,
// Bootstrappers\CacheTagsBootstrapper::class, // Alternative to PrefixCacheTenancyBootstrapper
// Bootstrappers\CacheTagsBootstrapper::class, // Alternative to CacheTenancyBootstrapper
Bootstrappers\FilesystemTenancyBootstrapper::class,
Bootstrappers\QueueTenancyBootstrapper::class,
// Bootstrappers\RedisTenancyBootstrapper::class, // Note: phpredis is needed
@ -343,8 +344,8 @@ return [
'features' => [
// Stancl\Tenancy\Features\UserImpersonation::class,
// Stancl\Tenancy\Features\TelescopeTags::class,
// Stancl\Tenancy\Features\TenantConfig::class, // https://tenancyforlaravel.com/docs/v3/features/tenant-config
// Stancl\Tenancy\Features\CrossDomainRedirect::class, // https://tenancyforlaravel.com/docs/v3/features/cross-domain-redirect
// Stancl\Tenancy\Features\TenantConfig::class,
// Stancl\Tenancy\Features\CrossDomainRedirect::class,
// Stancl\Tenancy\Features\ViteBundler::class,
],