I have deployed my website in Google Cloud Run and everything is fine. But after I use Cloudfare DNS for domain mapping, my website shows the same page 2 times. (My website: https://www.jmrconstruction.co.th)
I have tried many ways to solve the problem, for example:
Purge Cache: Purge Everything
Delete the mapped domain and re-add it in Cloud Run Domain mappings.
I’ve deleted the Cloud Run Service and recreated and mapped the domain.
All 3 methods didn’t work and it still shows the same wrong page.
The only way to get the website to display correctly is to turn on Development mode.
I’m not sure where this problem is coming from Google Cloud Run or Cloudflare. thanks for all answers.
@sandro I have paused and tried clicking unpause now it is working properly. The screenshot you took still doesn’t display properly because usually a website has a menu bar. Now you can enter the website again and you should see a menu bar.
It actually does load the menu via Cloudflare as well, but then (probably) JavaScript hides it, respectively shifts the video up. Maybe you still have some JavaScript cached on Cloudflare. I’d clear the cache on Cloudflare for starters.
I seem to have tracked it down to https://www.jmrconstruction.co.th/_nuxt/Customer.4976db48.js. That code seems to perform some action which shifts your menu when loaded via Cloudflare. That’s possibly related to said minification, though the details should be up to your web developer at this point.