Update integration for laravel nova 4

The previous configuration throws an error when setting up the middleware with 'web', you have to use 'nova' with nova v4.
This commit is contained in:
Adrià Ardila 2022-07-19 12:44:10 +02:00 committed by GitHub
parent 5c7e4b2533
commit b9225db624
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,13 +51,13 @@ To use Nova inside of the tenant part of your application, do the following:
// You can make this simpler by creating a tenancy route group // You can make this simpler by creating a tenancy route group
InitializeTenancyByDomain::class, InitializeTenancyByDomain::class,
PreventAccessFromCentralDomains::class, PreventAccessFromCentralDomains::class,
'web', 'nova',
]) ])
->withPasswordResetRoutes([ ->withPasswordResetRoutes([
// You can make this simpler by creating a tenancy route group // You can make this simpler by creating a tenancy route group
InitializeTenancyByDomain::class, InitializeTenancyByDomain::class,
PreventAccessFromCentralDomains::class, PreventAccessFromCentralDomains::class,
'web', 'nova',
]) ])
``` ```
- Set the `domain` in Nova config to `null` - Set the `domain` in Nova config to `null`