Search code examples
javascriptreactjsgatsbynetlify

Netlify is displaying the html version of my Gatsby website


The website build is at https://5efbc255ca51be00080b5219--epic-raman-086510.netlify.app/ . It looks like the javascript isn't running, and only the html version(supposed to only be displayed to search engines) is being displayed.

It kinda looks like it might only be the home page. You can visit theWebsiteBuildLink/publications, or theWebsiteBuildLink/publications to see it working for other pages.

I've noticed the tab at the top of my browser displays a loading animation indefinately


Update

So it had something to do with the images being ads. The components were named things like AdImg and such, and in a folder called ads. I had adblocker disabled but for some reason this problem kept happening. I changed the name away from "Ad" to a code word and suddenly everything loads right.

It's still really concerning that just because so images named 'Ads' couldn't load, that every image on my website failed loading. Can anyone answer

  1. Why images in an ads folder, or created by an ads component were not loading properly, even with adBlocker disabled.
  2. Why this caused every other image on my website to fail loading

Solution

  • So it turns out it's because the images were from a folder named ads, or that the component they were made from was named Ad. I changed it away from being ads, to being a codeword. I had ad block disabled prior to this. I don't know why this would have caused the issue.