How Do I Edit a robots.txt File?

The robots.txt file is generated automatically by the system and is available at https://mysite.netlify.app/robots.txt.

But you can edit it in the project settings: