Livewire integration
Add the following to your TenancyServiceProvider
’s boot()
method:
And update the file upload route middleware:
If you use a different identification middleware, use it in place of InitializeTenancyByDomain
in the code snippets above.