From 1facbb2906d653ec72c2d0f920484e79f5a2ba14 Mon Sep 17 00:00:00 2001 From: LaChimere Date: Sun, 7 May 2023 13:52:26 +0800 Subject: [PATCH 1/2] fix typo --- app/api/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/common.ts b/app/api/common.ts index 861caf3ba..647b124ad 100644 --- a/app/api/common.ts +++ b/app/api/common.ts @@ -26,7 +26,7 @@ export async function requestOpenai(req: NextRequest) { } if (!authValue || !authValue.startsWith("Bearer sk-")) { - console.error("[OpenAI Request] invlid api key provided", authValue); + console.error("[OpenAI Request] invalid api key provided", authValue); } return fetch(`${baseUrl}/${openaiPath}`, { From 6d62ab4257eaba1088e712d1798d32f7872c48bc Mon Sep 17 00:00:00 2001 From: Mokou Date: Sun, 7 May 2023 18:33:40 +0800 Subject: [PATCH 2/2] feat: mobile chat overscroll-behavior none --- app/components/home.module.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/components/home.module.scss b/app/components/home.module.scss index e8d0dba2b..247d70b9e 100644 --- a/app/components/home.module.scss +++ b/app/components/home.module.scss @@ -335,6 +335,7 @@ padding: 20px; padding-bottom: 40px; position: relative; + overscroll-behavior: none; } .chat-body-title {