Next.js middleware + Axios
is it possible to set a middleware.ts in next.js to use axios interceptors for certain pages on my app?
The code in the snippet below explains better what I want to implement in my middleware.ts for some of my pages.
![No description](https://cdn.answeroverflow.com/1262898421803778158/image.png)
1 Reply
no, you can't use middleware from axios. But you can still modify request and response headers without axios