Hello Everyone, I need a help with an error in my companie’s website:
Specify a Cross-Origin Resource Policy to prevent a resource from being blocked
It is an error from googleads. See the pictures below, to see they say i should Add an header in response. How can I do that? It must to be done in Netlify?
Appreciate your help.
Thank you
Try adding this to your netlify.toml
:
[[headers]]
for = "/*"
[headers.values]
Cross-Origin-Resource-Policy = "<value>"
Replace the value with same-site
or cross-origin
as per what you see fit as per the description in your image.