Browse Source

refer to local leaflet css and js instead of external resource in game_dashboard.html

feature_tests
Burathar 4 years ago
parent
commit
956b4c3f21
  1. 8
      app/templates/game_dashboard.html

8
app/templates/game_dashboard.html

@ -2,12 +2,8 @@
{% block head %} {% block head %}
{{ super() }} {{ super() }}
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css" <link rel="stylesheet" href="{{ url_for('static', filename='assets/leaflet/leaflet.css') }}" />
integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ==" <script src="{{ url_for('static', filename='assets/leaflet/leaflet.js') }}"></script>
crossorigin=""/>
<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"
integrity="sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew=="
crossorigin=""></script>
{% endblock %} {% endblock %}
{% block app_content %} {% block app_content %}

Loading…
Cancel
Save