Skip to content

Conversation

@gonfunko
Copy link
Contributor

@gonfunko gonfunko commented Sep 3, 2025

The basics

The details

Resolves

This PR adds a Access-Control-Allow-Origin: * to the HTTP headers served on responses from the /static directory of the Blockly App Engine service where the stock assets are served from. Ideally, developers would serve these themselves, but many don't. When generating screenshots of Blockly, these assets are necessary (drag handles, icons, etc), but since they are cross-origin in many cases relative to the page from which a screenshot is being generated, they are inaccessible in that context.

@gonfunko gonfunko requested a review from a team as a code owner September 3, 2025 22:10
@gonfunko gonfunko requested a review from BenHenning September 3, 2025 22:10
@github-actions github-actions bot added the PR: fix Fixes a bug label Sep 3, 2025
@gonfunko gonfunko merged commit 10e6df3 into develop Sep 5, 2025
17 checks passed
@gonfunko gonfunko deleted the cors branch September 5, 2025 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants