fix: allow .bin scratch names in the assemble builder

Direct-object sources download as <sha>.bin (scratchAssetName's fallback for
non-sha256 keys); the allowlist rejected them before spawn.
This commit is contained in:
glass beadian 2026-10-16 22:01:16 +00:00
parent 2a813eebe6
commit 6373715ffe

View file

@ -52,7 +52,7 @@ function scratchPath(path: string, field: string): string {
}
/** A downloaded source/overlay/VO file: a bare 64-hex name + known extension. */
const SCRATCH_FILE = /^[0-9a-f]{64}\.(mp4|png|webm|m4a|aac|mp3|wav)$/;
const SCRATCH_FILE = /^[0-9a-f]{64}\.(mp4|png|webm|m4a|aac|mp3|wav|bin)$/;;
export interface AssembleClipSource {
/** The EdlClip this input renders (its trim/rotate/volume ride along). */