Skip to content

Commit 32fab7e

Browse files
committed
Merge branch '7.2' into 7.3
* 7.2: Minor tweak Update asset_mapper.rst
2 parents fcf4ecb + d90c725 commit 32fab7e

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

frontend/asset_mapper.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,26 @@ This adds the ``bootstrap`` package to your ``importmap.php`` file::
252252
`package.json configuration file`_. Try to contact the package maintainer to
253253
ask them to fix those issues.
254254

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+
255275
Now you can import the ``bootstrap`` package like usual:
256276

257277
.. code-block:: javascript

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy