Usually, the problem is how to serve static files in development environment, while in my case it is the opposite. So I've deployed a Flask application using Apache and mod_wsgi, configured Apache to serve my static files at /static url. And now I'm not sure, whether those files are being served by Apache or by Flask, since flask is also using by default the same path for static.
In templates I use url_for("static", filename="style.css"). And it works fine. But this is the problem, because I don't know what is serving my static files. Of course, I can be sure that Apache is serving, if I change every template to have hardcoded path and something different than default Flask, but this doesn't sound like the right solution.
So to sum up my question: how to use url_for(static) in Flask (templates) and be sure, that Flask is not serving them for me?
Thanks, Rapolas K.