I have created a blog site using Gatbys.js. I have been approved for google adsense and told to place a ads.txt file in the root domain. In gatsby that would be the static folder.
When I run gatsby serve to see the build in localhost, It works fine, and the ads.txt file is visible (website.com/ads.txt). However, when I run the build and drag and drop the public folder gatsby generates into Netlify deploy, it gets stuck in the loading phase. I have removed the ads.txt file and it works perfectly.
I have searched online and found this similar issue Upload error after adding the ads.txt file however I do not have php. its a strictly static site. I have used snippets to add the script file for adsense. Is there any way to add a txt file that will allow a successful deploy. It seems like a strange issue.