Flask: Static files in subdirectories
Flask: Static files in subdirectories Question: In my flask template file I include a css file (I ommited the boilerplate) like this: url_for(‘static’, filename=’css/bootstrap.css’) This renders to /static/css/bootstrap.css which means (because of leading slash) it is interpreted as domain.com/static/css/boostrap.css. Unfortunately the actual static folder is located a subdirectory: domain.com/projects/test/static/ Environment specifics: My fcgi file located …