File tree 1 file changed +20
-0
lines changed
1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -252,6 +252,26 @@ This adds the ``bootstrap`` package to your ``importmap.php`` file::
252
252
`package.json configuration file `_. Try to contact the package maintainer to
253
253
ask them to fix those issues.
254
254
255
+ .. tip ::
256
+
257
+ If you see a network error like *Connection was reset for "https://cdn.jsdelivr.net/npm/..." *,
258
+ it may be caused by a proxy or firewall restriction. In that case, you can
259
+ temporarily configure a proxy to connect to the ``jsDelivr `` CDN:
260
+
261
+ .. code-block :: yaml
262
+
263
+ # config/packages/framework.yaml
264
+ framework :
265
+ # ...
266
+ http_client :
267
+ default_options :
268
+ proxy : ' 185.250.180.238:8080'
269
+ # if you use CURL, add extra options:
270
+ extra :
271
+ curl :
272
+ # 61 is value of constant CURLOPT_HTTPPROXYTUNNEL
273
+ ' 61 ' : true
274
+
255
275
Now you can import the ``bootstrap `` package like usual:
256
276
257
277
.. code-block :: javascript
You can’t perform that action at this time.
0 commit comments