static files do not include www subdomain and cause DNS redirect loop
- 2012-06-06 @ 12:04
so, calls to url_for('static') put a link in source code like '
But, as heroku states 'naked domains are frowned upon', i have put in a
redirect to make all non-www requests forward to www. But flask does not
pick up my files at www.pinjot.com/static/ and what i get is: no static
I should mention:
- I am using subdomains extensively throughout the site with no other
- I am using blueprints.
- I am serving static files through gunicorn in production so I have no
plans of moving static files to a different URL.