This commit is contained in:
seb
2026-10-16 14:17:22 +02:00
parent 764d6f850a
commit a592cc30f6
8 changed files with 477 additions and 64 deletions

View File

@@ -505,6 +505,12 @@ const server = http.createServer(async (req, res) => {
if (p === '/api/vfs/upload' && method === 'POST') {
return json(res, 200, { files: [] });
}
if (p === '/api/vfs/skills/restore' && method === 'POST') {
return json(res, 200, { success: true, restored: ['system.SKILL'], count: 1 });
}
if (p === '/api/vfs/applets/restore' && method === 'POST') {
return json(res, 200, { success: true, restored: ['example.applet.js'], count: 1 });
}
if (p.startsWith('/api/vfs/') && method === 'PUT') {
return json(res, 200, { ok: true });
}