mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-13 02:34:03 +00:00
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:
parent
c819780a68
commit
76f5bf5752
1 changed files with 2 additions and 2 deletions
|
|
@ -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`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue