Integrate next-intl provided middleware with pre-existing middleware
I have an existing middleware that handles the auth.
Integrate next-intl provided middleware with pre-existing middleware
I have an existing middleware that handles the auth.
next js internationalization and auth
I have a problem in setting up route middleware and internationalization in next js and laravel . I want to do is that if there is no token , user can not go other page by typing from url .So I added middleware . But that’s showing as like this .
This is my middleware code .