debug: add generateMetadata log
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -75,6 +75,7 @@ export async function generateMetadata({
|
|||||||
params: Promise<{ token: string }>;
|
params: Promise<{ token: string }>;
|
||||||
}) {
|
}) {
|
||||||
const { token } = await params;
|
const { token } = await params;
|
||||||
|
console.log("[generateMetadata] token:", token);
|
||||||
const clientData = await getCachedClientData(token);
|
const clientData = await getCachedClientData(token);
|
||||||
if (!clientData) return { title: "Not Found" };
|
if (!clientData) return { title: "Not Found" };
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user