From 50bcb48bd6e772ee0a670e0f29ab7354cdfb4df6 Mon Sep 17 00:00:00 2001 From: alikia2x Date: Tue, 29 Apr 2025 00:33:12 +0800 Subject: [PATCH] fix: incorrect key causing RangeError in date-fns --- packages/frontend/src/pages/song/[id]/info.astro | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/frontend/src/pages/song/[id]/info.astro b/packages/frontend/src/pages/song/[id]/info.astro index 673b714..e3f4fd3 100644 --- a/packages/frontend/src/pages/song/[id]/info.astro +++ b/packages/frontend/src/pages/song/[id]/info.astro @@ -20,8 +20,6 @@ const postgresConfig = { password: databasePassword, }; -console.log(postgresConfig) - // 路由参数 const { id } = Astro.params; const { Client } = pg; @@ -96,7 +94,6 @@ if (!aidExists) { return new Response(null, { status: 404 }); } const videoInfo = await getVideoMetadata(aid); -console.log(videoInfo); const snapshots = await getVideoSnapshots(aid); client.end(); @@ -131,7 +128,7 @@ interface Snapshot { - +