From ebe47393aae617e8a21a9eb9bf6ed47f60ed83a0 Mon Sep 17 00:00:00 2001 From: Azalea <22280294+hykilpikonna@users.noreply.github.com> Date: Mon, 8 Dec 2025 18:22:09 +0900 Subject: [PATCH] Update index.ts --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 7b77b61..6475ccb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -279,7 +279,7 @@ export const app = new Elysia() const metadata = await getMetadata() const photo = metadata.find((p) => p.id === idOrKey) || metadata.find((p) => p.owner_key === idOrKey) - if (!photo || photo.hide === true) done(404, "Photo not found") + if (!photo || photo.hide === true) done(404, "GET /:idOrKey - Photo not found") if (photo.id != idOrKey) return redirect(`https://aza.moe/photo/${photo.id}?owner_key=${idOrKey}`) return redirect(`https://aza.moe/photo/${photo.id}`)