fix : securite regex et message erreur et endpoint

This commit is contained in:
2026-03-12 09:20:07 +01:00
parent 126d6b505a
commit 9393abc8df
10 changed files with 2552 additions and 24 deletions

View File

@@ -56,7 +56,7 @@ function buildContentDisposition(fileName: string) {
return `attachment; filename="${asciiName}"; filename*=UTF-8''${encodeURIComponent(fileName)}`
}
function speedtestStream(event: any) {
function speedtestStream(event: H3Event) {
const size = 128 * 1024 * 1024
let sent = 0