javascript files in flask code example
Example 1: html include js file flask
<script type="text/javascript"
src="{{ url_for('static', filename='map.js') }}"></script>
Example 2: where to put js files in flask
<script src="{{url_for('static', filename='somejavascriptfile.js')}}"></script>