From 747e8f413f13b53f194237565bcfdfd6bf2b2247 Mon Sep 17 00:00:00 2001 From: tt <1109394634@qq.com> Date: Tue, 20 Feb 2024 15:50:12 +0800 Subject: [PATCH] update --- src/app/[locale]/PageComponent.tsx | 1 - src/app/[locale]/api/generate/route.ts | 2 -- src/components/Footer.tsx | 4 ++-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/app/[locale]/PageComponent.tsx b/src/app/[locale]/PageComponent.tsx index df0f1d1..a721c38 100644 --- a/src/app/[locale]/PageComponent.tsx +++ b/src/app/[locale]/PageComponent.tsx @@ -44,7 +44,6 @@ const PageComponent = ({ body: JSON.stringify(body) }) const result = await response.json(); - console.log(result); setShowLoadingModal(false); if (result.data) { const video = { diff --git a/src/app/[locale]/api/generate/route.ts b/src/app/[locale]/api/generate/route.ts index d89b4a0..cedf9be 100644 --- a/src/app/[locale]/api/generate/route.ts +++ b/src/app/[locale]/api/generate/route.ts @@ -20,8 +20,6 @@ export async function POST(req: Request, res: Response) { authorization: `Bearer ${apiKey}` }, }).then(v => v.json()).catch(err => console.log(err)); - console.log("========"); - console.log(result); return new Response(JSON.stringify(result), { headers: { "Content-Type": "application/json" }, status: 200 diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index d71f56a..1934382 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -14,9 +14,9 @@ const navigation = { name: 'Official', href: 'https://sorawebui.com', icon: () => ( - - ),