Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d90c725

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

File tree

1 file changed

+20
-0
lines changed
Filter options

1 file changed

+20
-0
lines changed

‎frontend/asset_mapper.rst

Copy file name to clipboardExpand all lines: frontend/asset_mapper.rst
+20Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.