diff --git a/pb_data/data.db-shm b/pb_data/data.db-shm deleted file mode 100644 index fe9ac28..0000000 Binary files a/pb_data/data.db-shm and /dev/null differ diff --git a/pb_data/data.db-wal b/pb_data/data.db-wal deleted file mode 100644 index e69de29..0000000 diff --git a/pb_data/logs.db b/pb_data/logs.db index de626bf..ccc9e25 100644 Binary files a/pb_data/logs.db and b/pb_data/logs.db differ diff --git a/pb_data/logs.db-shm b/pb_data/logs.db-shm deleted file mode 100644 index 6e6d21d..0000000 Binary files a/pb_data/logs.db-shm and /dev/null differ diff --git a/pb_data/logs.db-wal b/pb_data/logs.db-wal deleted file mode 100644 index 2e485ff..0000000 Binary files a/pb_data/logs.db-wal and /dev/null differ diff --git a/pb_hooks/file.pb.js b/pb_hooks/file.pb.js index 35dc02b..4b2635f 100644 --- a/pb_hooks/file.pb.js +++ b/pb_hooks/file.pb.js @@ -5,7 +5,6 @@ routerAdd("post", "/file", (c) => { const collection_name = "files" const data = $apis.requestInfo(c).data - console.log(JSON.stringify(data)); if (data["filename"]==null){ return c.redirect(307, "/error"); } @@ -29,7 +28,7 @@ routerAdd("post", "/file", (c) => { .limit(1) .one(file_record) - console.log(JSON.stringify(file_record)); + //console.log(JSON.stringify(file_record)); if (file_record){ tittle=file_record.get("tittle") @@ -49,8 +48,6 @@ routerAdd("post", "/file", (c) => { "link":`/api/files/${collection_name}/${recID}/${e}` }) }); - console.log(JSON.stringify(file_record.get("data"))) - console.log(JSON.stringify(links)) const html = $template.loadFiles( `${__hooks}/views/base/layout.html`,