There is no code in the website that would cause the redirect and I am totally stumped on why it’s happening. I did have DNS setup with Cloudflare but have just tried pointing my DNS straight back at DNsimple to see if this resolves the issue.
The app is a server side rendered react application running on a node express server. It is hosted on Heroku so doesn’t have a static IP and I can’t see anything in the heroku logs that gives me a clue as to why it’s happening.
The page ends up loading looking like this:
If anyone has any advice on what might be happening or how I can begin to address the problem that would be amazing as I am totally stuck at the moment