Hi I am trying to use a fetch on pages/products.js as follows, somehow it its not getting to my route but redirected to /auth. Any idea how i can implement a
Solved! Go to the solution
This is an accepted solution.
I have actually gotten it to work. I edited my _app.js file like this