Skip to content

Commit a40d5a5

Browse files
committed
minor #19161 [AssetMapper] Minor formating (ThomasLandauer)
This PR was merged into the 6.3 branch. Discussion ---------- [AssetMapper] Minor formating Page: https://symfony.com/doc/current/frontend/asset_mapper.html#serving-assets-in-dev-vs-prod Commits ------- 74c1ea7 Minor formating
2 parents a6e23bd + 74c1ea7 commit a40d5a5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

frontend/asset_mapper.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,16 @@ the file, the version part of the URL will change automatically!
8686
Serving Assets in dev vs prod
8787
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8888

89-
In the ``dev`` environment, the URL - ``/assets/images/duck-3c16d9220694c0e56d8648f25e6035e9.png``
90-
is handled and returned by your Symfony app. For the ``prod`` environment, before
91-
deploy, you should run:
89+
In the ``dev`` environment, the URL ``/assets/images/duck-3c16d9220694c0e56d8648f25e6035e9.png``
90+
is handled and returned by your Symfony app.
91+
92+
For the ``prod`` environment, before deploy, you should run:
9293

9394
.. code-block:: terminal
9495
9596
$ php bin/console asset-map:compile
9697
97-
This will physically copy all the files from your mapped directories into
98+
This will physically copy all the files from your mapped directories to
9899
``public/assets/`` so that they're served directly by your web server.
99100
See :ref:`Deployment <asset-mapper-deployment>` for more details.
100101

0 commit comments

Comments
 (0)