u
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user