debug: page-level file logging
This commit is contained in:
@@ -90,7 +90,8 @@ export default async function ClientPage({
|
|||||||
params: Promise<{ token: string }>;
|
params: Promise<{ token: string }>;
|
||||||
}) {
|
}) {
|
||||||
const { token } = await params;
|
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);
|
const clientData = await getCachedClientData(token);
|
||||||
if (!clientData) notFound();
|
if (!clientData) notFound();
|
||||||
|
|||||||
Reference in New Issue
Block a user