You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my nuxt.config.ts I have the following, where the URL endpoint returns an array of correctly formatted sitemap objects. I know this because when running the site locally with npm run dev it works great. I know this because in localhost I can see 3615 URL's pulled from the production API.
Note that since those screenshots I've removed the priority column from the sitemap page just to ensure the production server was building and receiving those changes properly, and it indeed is.
That same code is being ran full SSR on the production site at https://mcmodels.net/sitemap.xml yet it's not pulling any of the dynamic URLs.
And as you can see the sources URL is working well, especially known since it works great in localhost hitting the production backend server at https://api.mcmodels.net/urls
My only suspicion of this bug is that it doesn't like the "External" api being on the same IP?
I can't reproduce in the stackblitz because simply exchanging the sources URL that I have working locally works just fine.
I expect production to match what local looks like, as I'm not sure why it doesn't. All I can think of is that the module doesn't like pulling "external" api data from the same machine since the backend is hosted on the same server?
ℹ️ Additional context
I have no idea what to produce to help out with what I've done wrong, the fact that it works locally with my backend and in stackblitz has me at a loss.
The text was updated successfully, but these errors were encountered:
🐛 The bug
This is a bit of an odd one, I do have an open discord thread for faster conversing if it would help in the official nuxt discord: https://discord.com/channels/473401852243869706/1268206495007510590/1268206495007510590
In my nuxt.config.ts I have the following, where the URL endpoint returns an array of correctly formatted sitemap objects. I know this because when running the site locally with
npm run dev
it works great. I know this because in localhost I can see 3615 URL's pulled from the production API.Note that since those screenshots I've removed the priority column from the sitemap page just to ensure the production server was building and receiving those changes properly, and it indeed is.
That same code is being ran full SSR on the production site at https://mcmodels.net/sitemap.xml yet it's not pulling any of the dynamic URLs.
And as you can see the sources URL is working well, especially known since it works great in localhost hitting the production backend server at https://api.mcmodels.net/urls
My only suspicion of this bug is that it doesn't like the "External" api being on the same IP?
🛠️ To reproduce
https://stackblitz.com/edit/nuxt-starter-thnwmt?file=nuxt.config.ts
🌈 Expected behavior
I can't reproduce in the stackblitz because simply exchanging the sources URL that I have working locally works just fine.
I expect production to match what local looks like, as I'm not sure why it doesn't. All I can think of is that the module doesn't like pulling "external" api data from the same machine since the backend is hosted on the same server?
ℹ️ Additional context
I have no idea what to produce to help out with what I've done wrong, the fact that it works locally with my backend and in stackblitz has me at a loss.
The text was updated successfully, but these errors were encountered: