Similarly to how we have been treated with a recent feature of adding assetlinks.json
PWA asset links API, can we have something similar for Ads.txt files as well?
Adsense requires the file to be uploaded to the root directory (example.com/ads.txt) and there is no way to do this in Anvil currently.
If you download the anvil repo locally with git you can add it in the root directory.
Just go to the collaboration tab in settings and run the command.
Thanks for the reply.
However, the way you are suggesting is for adding files to the root directory of the git repository. I want my file to be hosted at the root directory (example.com/ads.txt) of my domain.