I am not sure atm. where to put files like .htaccess or robots.txt.
And I am struggling to find the correct and up to date answer, because there are many similar questions.
I have my flask app and 2 folders static und templates.
In templates I have all my html files and thats it.
In static I have css js static images. But where do I put files like .htaccess or robots.txt.
For example the requirements.txt is with all the py files. Version 1:
Or do I have to move these files to static?:
EDIT:
This has nothing to do with robots itself... I know where robots has to be. I need to understand how flask serves these files. As far as I know flask uses the static folder as root, but still procfile and requirements have to be with the py files.


 
     
    