NuxtN
Nuxt14mo ago
HardWare

Docker nuxt $fetch and useFetch

Hi, why do i have to use different http links for each one?
My app have back api in different container so request is sended in $fetch to api.localhost or container name php in useFetch. Why is that? I understand that useFetch is prerender data on ssr but can I make one address for request to not get confused over time. Thanks
Was this page helpful?