mirror of
https://github.com/logto-io/logto.git
synced 2025-02-17 22:04:19 -05:00
* refactor(experience): remove the image CORS prop remove the image tag CORS property, do not check the source CORS headers * chore: add changeset add changeset * chore: fix typo fix typo * chore: update the changeset update the changeset
591 B
591 B
@logto/experience |
---|
patch |
remove the image element's cross-origin="anonymous"
attribute.
Some public image resources may not have the proper cross-origin headers configured, those images may fail to load when the cross-origin="anonymous"
attribute is present.
Since those image elements are only used for display purposes, Logto does not need to access the image data, so the cross-origin="anonymous"
attribute is not necessary.
To make the image elements more compatible with public image resources, remove the cross-origin="anonymous"
attribute from the image elements.