This commit is contained in:
sijinhui 2024-08-18 20:44:47 +08:00
parent 9c68cea749
commit 0d363e8aa2
3 changed files with 7 additions and 7 deletions

View File

@ -1,9 +1,9 @@
name: PRO DEPLOY
name: BUILD DOCKER IMAGE
on:
workflow_dispatch:
push:
branches:
- main
# push:
# branches:
# - main
# paths:
# - 'app/**'
# - 'public/**'

View File

@ -1,4 +1,4 @@
FROM sijinhui/chatgpt-next-web:buildcache as deps
FROM sijinhui/chatgpt-next-web:buildcache AS deps
WORKDIR /app

View File

@ -250,8 +250,8 @@ function _MarkDownContent(props: { content: string }) {
],
]}
components={{
pre: PreCode,
code: CustomCode,
pre: PreCode as any,
code: CustomCode as any,
p: (pProps) => <p {...pProps} dir="auto" />,
a: (aProps) => {
const href = aProps.href || "";