You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: load CDN scripts sequentially and preserve script type in widget iframe
External scripts (e.g. Three.js from CDN) were appended via DOM and loaded
asynchronously, so inline scripts that depend on them would execute before
the library was available. Now scripts are chained sequentially — each
external script waits for onload before the next script runs.
Also preserves the script `type` attribute (needed for `type="module"`) and
adds CDN origins to CSP `connect-src` so dynamic imports and fetch from
allowed CDNs work in the sandboxed iframe.
0 commit comments