How I can show 404 if locale invalid?
My route:
$routes->add('{locale}', 'App\Controllers\Home::index');
But if I try open mysite.com/asdasdasd, or
mysite.com/dad2da ... - I get HTTP code 200, I want get 404.
I must write
crutch?
Then, if I write filter, how I detect what first segment used as locale, not controller?