Cloudflare cache with Nuxt is causing pages to point to localhost:3000 on live

In Cloudflare when I enable caching for some reasons my websites starts querying from the front end instead of serverside… and the queries point to localhost:3000, breaking all my queries.

I have a nuxt website, with an express api in it, nothing special happening. All pages with data are server side rendered.

If i enable cache:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.