Skip to content

Commit d90c725

Browse files
committed
Merge branch '6.4' into 7.2
* 6.4: Minor tweak Update asset_mapper.rst
2 parents 6e59a25 + 621b57b commit d90c725

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
@@ -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

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