fix: nginx configration

This commit is contained in:
charlesgauthereau
2026-02-09 23:39:14 +01:00
parent c328620f3d
commit eff7b24b7a
5 changed files with 147 additions and 150 deletions
+3
View File
@@ -7,11 +7,14 @@ export async function POST(request: Request) {
try {
const body = await request.json();
const event = body.Event
console.log(body);
const headers = event.HTTPRequest.Header
const uploadLength = headers["X-File-Size"]?.[0];
const uploadOffset = headers["Upload-Offset"]?.[0];
const status = headers["X-Status"]?.[0];
console.log(headers);
console.log(`Upload ID : ${event.Upload.ID} (${uploadOffset}/${uploadLength})`);