mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 16:08:56 +00:00
* fix(studio-server): buildSubCompositionHtml reads only compositions inside the project The helper joined projectDir with compPath and read the result, trusting every caller to have confined the path first. Studio's own preview route does; an embedder that forgets would serve any readable file. The helper now resolves compPath with core's resolveWithinProject and returns null for a path outside the project, the same answer as a missing file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(studio-server): keep subComposition.ts's comment share flat Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(studio-server): the sub-composition head reads only an index.html inside the project Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>