chrome-devtools-frontend
Version:
Chrome DevTools UI
9 lines (6 loc) • 677 B
Markdown
# Specify a more permissive Cross-Origin Resource Policy to prevent a resource from being blocked
Your site tries to access an external resource that only allows same-origin usage.
This behavior prevents a document from loading any non-same-origin resources which don’t explicitly grant permission to be loaded.
To solve this, add the following to the resource’s HTML response header:
* `Cross-Origin-Resource-Policy: same-site` if the resource and your site are served from the same site.
* `Cross-Origin-Resource-Policy: cross-origin` if the resource is served from another location than your website. ⚠️If you set this header, any website can embed this resource.