Update nova.blade.md

Laravel Nova middleware called `nova` use `Laravel\Nova\Http\Middleware::class` which cause infinite redirects. Default `withAuthenticationRoutes` and `withPasswordResetRoutes` route group is `web` so it doesn't make sens to `nova` middleware group there.
This commit is contained in:
Piotr Suchanek 2023-01-31 08:25:38 +01:00 committed by GitHub
parent c819780a68
commit 76f5bf5752
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,
'nova', 'web',
]) ])
->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,
'nova', 'web',
]) ])
``` ```
- Set the `domain` in Nova config to `null` - Set the `domain` in Nova config to `null`