Merge branch 'main' into sgm/cicd

This commit is contained in:
sungaomeng 2024-01-25 15:27:41 +08:00 committed by GitHub
commit a4c1f1ac47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -82,4 +82,4 @@ jobs:
message: | message: |
Your build has completed! Your build has completed!
[Preview deployment](${{ steps.vercel.outputs.VERCEL_URL }}) [Preview deployment](${{ steps.vercel.outputs.VERCEL_URL }})

View File

@ -40,4 +40,4 @@ export const POST = handle;
export const GET = handle; export const GET = handle;
export const OPTIONS = 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 = { export const DEFAULT_CONFIG = {
lastUpdate: Date.now(), // timestamp, to merge state lastUpdate: Date.now(), // timestamp, to merge state
submitKey: isMacOS() ? SubmitKey.MetaEnter : SubmitKey.CtrlEnter, submitKey: SubmitKey.Enter,
avatar: "1f603", avatar: "1f603",
fontSize: 14, fontSize: 14,
theme: Theme.Auto as Theme, theme: Theme.Auto as Theme,