Filament routing

I am builing a multi tenant app using "tenancy for laravel" and I want to have an admin panel (using filament) on my central domain to manage all tentants information.

The filament route would be "central.domain/admin"
If a tenant tries to access "tenant.central.domain/admin", a 404 should be shown.

I managed to get this working simply by changing :
$domains = $panel->getDomains();

to
$domains = config('tenancy.central_domains');

On filaments vendor/filament/routes/web.php

However, I am guessing that breaks filaments native multi tenancy which i probably wont use but I'd like to keep things as clean as possible
Was this page helpful?