Log delets
This commit is contained in:
parent
0e58f95920
commit
25c789538d
@ -336,6 +336,7 @@ export class HttpServer {
|
|||||||
})
|
})
|
||||||
.delete("\/(.+)", async ({ response, params }) => {
|
.delete("\/(.+)", async ({ response, params }) => {
|
||||||
const name = params[0];
|
const name = params[0];
|
||||||
|
console.log("Deleting file", name);
|
||||||
try {
|
try {
|
||||||
await spacePrimitives.deleteFile(name);
|
await spacePrimitives.deleteFile(name);
|
||||||
response.status = 200;
|
response.status = 200;
|
||||||
|
Loading…
Reference in New Issue
Block a user