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