Commit 8144154 1 parent 13beef1 commit 8144154 Copy full SHA for 8144154
File tree 4 files changed +6
-5
lines changed
4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,7 @@ frontend:
123
123
make stylesheets
124
124
make govukAssets
125
125
rsync -r assets/images static/
126
+ cp node_modules/maplibre-gl/dist/maplibre-gl.css static/stylesheets/maplibre-gl.css
126
127
127
128
frontend-all : clean frontend
128
129
Original file line number Diff line number Diff line change 29
29
{% endblock %}
30
30
31
31
{%- block mapAssets %}
32
- < script src ='https://unpkg.com/maplibre-gl@latest/dist /maplibre-gl.js '> </ script >
33
- < link href ='https://unpkg.com/maplibre-gl@latest/dist /maplibre-gl.css ' rel ='stylesheet ' />
32
+ < script src ='/static/javascripts /maplibre-gl.js '> </ script >
33
+ < link href ='/static/stylesheets /maplibre-gl.css ' rel ='stylesheet ' />
34
34
< script src ='https://api.mapbox.com/mapbox.js/plugins/turf/v2.0.2/turf.min.js '> </ script >
35
35
{{ super() }}
36
36
{% endblock -%}
Original file line number Diff line number Diff line change 15
15
16
16
{%- block mapAssets %}
17
17
< script src ='/static/javascripts/maplibre-gl.js '> </ script >
18
- < link href ='https://unpkg.com/maplibre-gl@latest/dist /maplibre-gl.css ' rel ='stylesheet ' />
18
+ < link href ='/static/stylesheets /maplibre-gl.css ' rel ='stylesheet ' />
19
19
{{ super() }}
20
20
{% endblock -%}
21
21
Original file line number Diff line number Diff line change 12
12
{% from 'components/pagination/macro.jinja' import appPagination %}
13
13
14
14
{%- block mapAssets %}
15
- < script src ='https://unpkg.com/maplibre-gl@latest/dist /maplibre-gl.js '> </ script >
16
- < link href ='https://unpkg.com/maplibre-gl@latest/dist /maplibre-gl.css ' rel ='stylesheet ' />
15
+ < script src ='/static/javascripts /maplibre-gl.js '> </ script >
16
+ < link href ='/static/stylesheets /maplibre-gl.css ' rel ='stylesheet ' />
17
17
< script src ='https://api.mapbox.com/mapbox.js/plugins/turf/v2.0.2/turf.min.js '> </ script >
18
18
{{ super() }}
19
19
{% endblock -%}
You can’t perform that action at this time.
0 commit comments