Turn one illustration into an animated 2D mesh avatar with a coding agent and a local editor
Fix sample copy failing on Node 24+
mahi4240242660af04d
diff --git a/src/server/local-projects.ts b/src/server/local-projects.tsindex 22159c4..d8c4d8e 100644--- a/src/server/local-projects.ts+++ b/src/server/local-projects.ts@@ -119,7 +119,9 @@ export function localProjectMiddleware(root: string, reveal = revealFolder, runn}}try {- await cp(sample, path, { recursive: true, force: false, errorOnExist: true, filter: async source => {+ // The name is reserved with an exclusive mkdir above, so the target is a fresh empty+ // folder; copy into it without errorOnExist, which Node 24+ throws for that very folder.+ await cp(sample, path, { recursive: true, force: false, filter: async source => {if ((await lstat(source)).isSymbolicLink()) throw new HttpError(400, 'Sample contains redirected files.');return true;} });