Correctly configure HTML5 Flask app for non-debug serving