feat : ajout page monitoring

This commit is contained in:
2026-03-06 15:26:51 +01:00
parent 993524aa72
commit 8b5d4e9655
21 changed files with 11098 additions and 0 deletions

11
server/api/upload.post.ts Normal file
View File

@@ -0,0 +1,11 @@
export default defineEventHandler(async (event) => {
const req = event.node.req
let received = 0
for await (const chunk of req) {
received += chunk.length
}
return { received }
})