debug: page-level file logging

This commit is contained in:
2026-05-22 20:34:19 +02:00
parent d67be3b6b4
commit 25ae19c9d2
+2 -1
View File
@@ -90,7 +90,8 @@ export default async function ClientPage({
params: Promise<{ token: string }>;
}) {
const { token } = await params;
console.log("[ClientPage] token param:", token);
const { appendFileSync } = await import("fs");
appendFileSync("/tmp/clienthub-debug.log", `[${new Date().toISOString()}] PAGE token=${token}\n`);
const clientData = await getCachedClientData(token);
if (!clientData) notFound();