#Using actions with language detection in the middleware

3 messages · Page 1 of 1 (latest)

fallen blade
#

Hi, I was having an issue when using actions with language redirect logic in the middleware. A workaround I found is to read the URL pathname, check if _actions is present, and do an early return.

Is this a good solution, or am I missing something here?

cursive summit
fallen blade
#

Uff, these people rock. Thank you, Matthew!