We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc2bf10 + 830079a commit f3f14a9Copy full SHA for f3f14a9
frontend/encore/cdn.rst
@@ -38,3 +38,10 @@ You *do* need to make sure that the ``script`` and ``link`` tags you include on
38
pages also use the CDN. Fortunately, the
39
:ref:`entrypoints.json <encore-entrypointsjson-simple-description>` paths are updated
40
to include the full URL to the CDN.
41
+
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