Is there a same way as the axios interceptor when I use fetch?

Viewed 137

I am working on the nextjs project and here I used the original fetch method for api request. But here I have to add token every time so I tryed to find the same way as the axios interceptors and didn't find yet. Can anybody help me, please?

0 Answers
Related