Optional locale param with wildcard
I have
When user access
I tried to do:
but that would send the server into infinite loop.
/{$-lang}/$ -like routes.When user access
/hello page, how would router know that "hello" is not a lang? Do I need to manually check and somehow redirect to the splat route? I tried to do:
but that would send the server into infinite loop.