FilamentF
Filament3y ago
5 replies
oliverbusk

Any route in web.php gives 404

I would like to add a simple route in my Filament app like below:

Route::get('/test', function () {
    dd("Here");
});


When I access the /test url, Laravel throws an 404 Not Found.

What am I doing wrong?
Solution
I am using multi tenancy, and in that case I needed to set ->tenantRoutePrefix() on my panel.

Having a prefix, made it so I could define routes in web.php
Was this page helpful?