Open coder0107git opened 2 months ago
A potential fix for this would be to add the following to netlify.toml
.
[[headers]]
for = "/img/*"
[headers.values]
Cross-Origin-Resource-Policy = "cross-origin"
+ Access-Control-Allow-Origin = "*"
Would submitting a PR with the suggested changes be helpful?
Sure @coder0107git
Filed PR (#229)
@samdenty or @sulco Any chance #229 will be reviewed soon?
Describe the bug When the "Open in StackBlitz" button is requested with CORS (i.e.
<img crossorigin="anonymous" ...>
), it isn't loaded.To Reproduce Steps to reproduce the behavior:
<img alt="Open in StackBlitz"
src="https://developer.stackblitz.com/img/open_in_stackblitz_small.svg">