Next.js Discord

Discord Forum

Page not loading right

Unanswered
LaPerm posted this in #help-forum
Open in Discord
LaPermOP
Been using Next for a long time now and never had this issue before. My root index page is fine in development. I uploaded to Netlify and it was working fine but when I type in the url I keep getting text like in the image below. If I load another page it works fine.

I have no idea why this is happening hoping someone can shed some light.

5 Replies

Satin Angora
I think you are rendering API path... Is API path(s) are routable in your project?
LaPermOP
I have no api folder in this app just pages in the app folder
Satin Angora
Can you share the URL you have painted over? You can hide domain part if you want
LaPermOP
It’s a site for a client so trying to get away with not sharing. It happen intermittently and have found it happens if I have a slower internet connection in production so hard to replicate.
It’s just [sitename].netlify.app this is happening on main page route