1
0

Log delets

This commit is contained in:
Zef Hemel 2023-05-25 17:21:51 +02:00
parent 0e58f95920
commit 25c789538d

View File

@ -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;