From aa1634efb0bce4283839eca76a0018d8be083ab7 Mon Sep 17 00:00:00 2001 From: Azalea <22280294+hykilpikonna@users.noreply.github.com> Date: Mon, 27 Oct 2025 14:19:35 +0800 Subject: [PATCH] Update index.ts --- src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.ts b/src/index.ts index 6147d7f..88badbd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,6 +6,7 @@ import sharp from "sharp" import { unlink } from "fs/promises" import path from "path" import { readdir } from "fs/promises" +import { log } from "console" // --- Configuration --- const FOLDER_BASE = "./data" @@ -206,6 +207,7 @@ export const app = new Elysia() .post("/delete", async ({ body, headers }) => { const { id } = body checkHeaderKey(headers) + log(`[+] Received delete request for photo ${id}`) const metadata = await getMetadata()