fix(image): allow workspace and sandbox media paths (#15541)

This commit is contained in:
Tyler Yust
2026-02-14 17:15:15 -08:00
committed by Vignesh
parent ceae46ce33
commit edb06170f5
7 changed files with 139 additions and 4 deletions

View File

@@ -32,7 +32,8 @@ type WebMediaOptions = {
readFile?: (filePath: string) => Promise<Buffer>;
};
function getDefaultLocalRoots(): string[] {
<<<<<<< HEAD
export function getDefaultLocalRoots(): string[] {
return [
os.tmpdir(),
path.join(STATE_DIR, "media"),