FortAwesome / Font-Awesome

The iconic SVG, font, and CSS toolkit
https://fontawesome.com
Other
73.72k stars 12.19k forks source link

Add `Cross-Origin-Resource-Policy: cross-origin` header to CDN #20132

Open tagliala opened 8 months ago

tagliala commented 8 months ago

Discussed in https://github.com/FortAwesome/Font-Awesome/discussions/20131

Originally posted by **tonydream888** February 23, 2024 Our website enabled “Cross-Origin Isolation”, so all resources(css, font, etc) on your server (use.fontawesome.com) are blocked by browser(Firefox, etc)! To fix the problem, please add the following http response header to your server: Cross-Origin-Resource-Policy: cross-origin that header will tell browser that your server give clear permission to other servers to access resources(css, etc) on your server. Thanks!

Ref: https://developer.mozilla.org/en-US/docs/Web/HTTP/Cross-Origin_Resource_Policy#relationship_to_cross-origin_embedder_policy_coep

tonydream888 commented 8 months ago

@tagliala

:) Thanks