cailloubleu
cailloubleu
TTCTheo's Typesafe Cult
Created by cailloubleu on 8/10/2023 in #questions
How to fetch local API with App Router
Ok I see thank you 🙂
9 replies
TTCTheo's Typesafe Cult
Created by cailloubleu on 8/10/2023 in #questions
How to fetch local API with App Router
In the end, when I deployed, it was easier to not use an API route. Otherwise, when the VERCEL_URL was used, because the route did not exist before, there was a build error. Don't ask me how but I managed to make it work on the page component while previously I had an error So now it's simple and studip but works!
9 replies
TTCTheo's Typesafe Cult
Created by cailloubleu on 8/10/2023 in #questions
How to fetch local API with App Router
I will keep this post open if someone has another solution
9 replies
TTCTheo's Typesafe Cult
Created by cailloubleu on 8/10/2023 in #questions
How to fetch local API with App Router
Thank you @itonoli, I'll try that 🙂
9 replies