+ The app editor runs in a cross-origin isolated context (COOP/COEP headers). This is
+ required for SharedArrayBuffer, which powers the TypeScript language workers and
+ lets the editor build and preview your frontend live in the browser.
+
+ A side effect is that the browser refuses to load cross-origin resources (images, scripts,
+ stylesheets, media…) unless the remote server explicitly opts in with CORS or a
+ Cross-Origin-Resource-Policy header. Resources from servers that don't are
+ blocked in the editor preview only.
+
+ The deployed app is served without these headers, so the same resources load normally there —
+ open the deployed app link to verify. If you control the remote server, sending
+ Cross-Origin-Resource-Policy: cross-origin makes the resource load in the editor too.
+