Merge branch 'ChatGPTNextWeb:main' into main

This commit is contained in:
money32wang
2024-01-26 10:06:50 +08:00
committed by GitHub
5 changed files with 159 additions and 2 deletions

View File

@@ -40,4 +40,4 @@ export const POST = handle;
export const GET = handle;
export const OPTIONS = handle;
export const runtime = "nodejs";
export const runtime = "edge";

View File

@@ -28,7 +28,7 @@ export enum Theme {
export const DEFAULT_CONFIG = {
lastUpdate: Date.now(), // timestamp, to merge state
submitKey: isMacOS() ? SubmitKey.MetaEnter : SubmitKey.CtrlEnter,
submitKey: SubmitKey.Enter,
avatar: "1f603",
fontSize: 14,
theme: Theme.Auto as Theme,