Skip to content

Commit 830079a

Browse files
committed
Minor tweaks
1 parent b00c99b commit 830079a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

frontend/encore/cdn.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ pages also use the CDN. Fortunately, the
3939
:ref:`entrypoints.json <encore-entrypointsjson-simple-description>` paths are updated
4040
to include the full URL to the CDN.
4141

42-
If you are using ``Encore.enableIntegrityHashes()`` and your CDN and your domain are not the [same-origin](https://en.wikipedia.org/wiki/Same-origin_policy)
43-
then you might need to set the ``crossorigin`` configuration value in your webpack_encore.yaml configuration
44-
to ``anonymous`` or ``use-credentials`` to overcome CORS errors.
42+
If you are using ``Encore.enableIntegrityHashes()`` and your CDN and your domain
43+
are not the `same-origin`_, you may need to set the ``crossorigin`` option in
44+
your webpack_encore.yaml configuration to ``anonymous`` or ``use-credentials``
45+
to overcome CORS errors.
46+
47+
.. _`same-origin`: https://en.wikipedia.org/wiki/Same-origin_policy

0 commit comments

Comments
 (0)